Alcatel Carrier Internetworking Solutions 350I ip rtdelete, Example, Related Commands, ip rtadd

Models: 350I

1 138
Download 138 pages 18.92 Kb
Page 96
Image 96
ip rtdelete

5 IP Commands

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.

REQUIRED

 

Supports cidr notation.

 

[dstmsk]

The destination IP address mask.

OPTIONAL

[src]

The source IP address(es) of the route.

OPTIONAL

 

Supports cidr notation.

 

[srcmsk]

The source IP address mask.

OPTIONAL

[gateway]

The IP address of the next hop. Must be directly connected.

OPTIONAL

 

The parameters `gateway` and `intf` are mutually exclusive.

 

[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.

96 / 138

 

3EC 16982 AGAA TCZZA Ed. 01

 

 

 

Page 96
Image 96
Alcatel Carrier Internetworking Solutions 350I ip rtdelete, Delete a route from the SpeedToucht350i routing table SYNTAX