EXAMPLE:
=>ip rtlist
Destination Label
10.0.0.0/24
10.0.0.140/32
127.0.0.1/32
=>ip rtadd dst=10.10.0.0/24 label=Interactive gateway=10.0.0.140
=>ip rtlist
Destination Label
10.0.0.0/24
10.10.0.0/24 Interactive
10.0.0.140/32
127.0.0.1/32
=>
RELATED COMMANDS:
ip rtdelete
ip rtlist
458
Gateway
Intf Mtrc Status
10.0.0.140
eth0
10.0.0.140
eth0
127.0.0.1
loop
Gateway
10.0.0.140
10.0.0.140
10.0.0.140
127.0.0.1
Delete a route from the routing table.
Display the routing table.
0
[UP]
0
[UP]
0
[UP]
Intf Mtrc Status
eth0
0
[UP]
eth0
0
[UP]
eth0
0
[UP]
loop
0
[UP]
E-DOC-CTC-20061027-0012 v2.0
IP Commands