E-DOC-CTC-20061027-0003v2.0
IP Commands
458
ip rtlist
Display the routing table.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:

ip rtlist [expand = <{disabled | enabled}>]

expand Enable or disable expanded listing.
The default is disabled.
OPTIONAL
=>ip rtlist
Destination Label Gateway Interface Metric Status
10.0.0.138/32 127.0.0.1 loop 0 [UP]
127.0.0.1/32 127.0.0.1 loop 0 [UP]
10.0.0.0/24 10.0.0.138 eth0 0 [UP]
=>ip rtlist expand=enabled
Destination Label Gateway Interface Metric Status Source-selection
10.0.0.138/
32 127.0.0.1 loop 0 [UP] default 127.0.0.1
127.0.0.1/
32 127.0.0.1 loop 0 [UP] default 127.0.0.1
10.0.0.0/
24 10.0.0.138 eth0 0 [UP] default 10.0.0.138
=>
ip rtadd Add a route to the routing table.
ip rtdelete Delete a route from the routing table.