Alcatel Carrier Internetworking Solutions 350I Modem User Manual


 
5 IP Commands
96 / 138
3EC 16982 AGAA TCZZA Ed. 01
ip rtdelete
Delete a route from the SpeedToucht350i routing table.
SYNTAX:
ip rtdelete dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[src = <ip-address>]
[srcmsk = <ip-mask(dotted or cidr)>]
[gateway = <ip-address>]
[intf = <interface name>]
dst The destination IP address(es) of the route.
Supports cidr notation.
REQUIRED
[dstmsk] The destination IP address mask. OPTIONAL
[src] The source IP address(es) of the route.
Supports cidr notation.
OPTIONAL
[srcmsk] The source IP address mask. OPTIONAL
[gateway] The IP address of the next hop. Must be directly connected.
The parameters `gateway` and `intf` are mutually exclusive.
OPTIONAL
[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.