5 IP Commands
ip rtdelete
Delete a route from the SpeedToucht350i routing table.
SYNTAX:
ip rtdelete | dst = |
|
| [dstmsk = |
|
| [src = |
|
| [srcmsk = |
|
| [gateway = |
|
| [intf = <interface name>] |
|
|
|
|
dst | The destination IP address(es) of the route. | REQUIRED |
| Supports cidr notation. |
|
[dstmsk] | The destination IP address mask. | OPTIONAL |
[src] | The source IP address(es) of the route. | OPTIONAL |
| Supports cidr notation. |
|
[srcmsk] | The source IP address mask. | OPTIONAL |
[gateway] | The IP address of the next hop. Must be directly connected. | OPTIONAL |
| The parameters `gateway` and `intf` are mutually exclusive. |
|
[intf] | Do not use this parameter. | OPTIONAL |
EXAMPLE:
=>ip rtlist |
|
|
|
|
| |
| Destination | Source | Gateway | Intf | Mtrc | |
10.0.0.0/24 | 10.0.0.0/24 | 10.0.0.140 | eth0 | 0 |
| |
| 10.10.0.0/24 | 10.0.0.0/24 | 10.0.0.140 | eth0 | 0 |
|
10.0.0.140/32 | 0.0.0.0/0 | 10.0.0.140 | eth0 | 0 |
| |
127.0.0.1/32 | 0.0.0.0/0 | 127.0.0.1 | loop | 0 |
| |
=>ip rtdelete dst=10.10.0.0/24 src=10.0.0.0/24 gateway=10.0.0.140 | ||||||
=>ip rtlist |
|
|
|
|
| |
| Destination | Source | Gateway | Intf | Mtrc | |
10.0.0.0/24 | 10.0.0.0/24 | 10.0.0.140 | eth0 | 0 |
| |
10.0.0.140/32 | 0.0.0.0/0 | 10.0.0.140 | eth0 | 0 |
| |
127.0.0.1/32 | 0.0.0.0/0 | 127.0.0.1 | loop | 0 |
| |
=> |
|
|
|
|
| |
|
|
|
|
|
|
|
RELATED COMMANDS: |
|
ip rtadd | Add a route to the routing table. |
ip rtlist | Show current routing table. |
96 / 138 |
| 3EC 16982 AGAA TCZZA Ed. 01 |
|
|
|