beautypg.com

Ip rtlist, Display the routing table, Ip commands – Technicolor - Thomson ST585 V6 User Manual

Page 478: Syntax, Example: related commands

background image

E-DOC-CTC-20061027-0004 v1.0

IP Commands

454

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.