Справочник Пользователя для Alcatel-Lucent speedtouch 500

Скачать
Страница из 422
212
IP Commands
ip rtdelete
Delete a route from the SpeedTouch™ routing table.
SYNTAX:
EXAMPLE:
RELATED COMMANDS:
ip rtdelete
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <{}>]
[gateway = <ip-address>]
[intf = <interface name>]
dst
The destination IP address(es) for this route.
Supports cidr notation.
REQUIRED
dstmsk
The destination IP address mask.
OPTIONAL
label
The name of the label.
OPTIONAL
gateway
The IP address of the next hop. Must be directly connected.
The parameters ‘gateway‘ and ‘intf‘ are mutually exclusive.
OPTIONAL
intf
Only for special interface routes: the outgoing IP interface name. 
The parameters ‘gateway‘ and ‘intf‘ are mutually exclusive.
OPTIONAL
=>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
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 dst=10.10.0.0/24 src=10.0.0.0/24 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.0.0.140/32
10.0.0.140
eth0
0
[UP]
127.0.0.1/32
127.0.0.1
loop
0
[UP]
=>
Add a route to the routing table.
Show current routing table.