beautypg.com

Ip commands, 452 example: related commands – Technicolor - Thomson ST585 V6 User Manual

Page 476

background image

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

IP Commands

452

EXAMPLE:

RELATED COMMANDS:

=>ip rtlist

Destination Label

Gateway

Intf Mtrc Status

10.0.0.0/24

10.0.0.140

eth0

0

[UP]

10.0.0.140/32

10.0.0.140

eth0

0

[UP]

127.0.0.1/32

127.0.0.1

loop

0

[UP]

=>ip rtadd dst=10.10.0.0/24 label=Interactive gateway=10.0.0.140
=>ip rtlist

Destination Label

Gateway

Intf Mtrc Status

10.0.0.0/24

10.0.0.140

eth0

0

[UP]

10.10.0.0/24 Interactive

10.0.0.140

eth0

0

[UP]

10.0.0.140/32

10.0.0.140

eth0

0

[UP]

127.0.0.1/32

127.0.0.1

loop

0

[UP]

=>

ip rtdelete

Delete a route from the routing table.

ip rtlist

Display the routing table.