211
IP Commands
E-DOC-CTC-20040216-0002 v1.0
ip rtadd
Add a route to the SpeedTouch™ routing table.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
ip rtadd
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <string>]
[gateway = <ip-address>]
[intf = <interface name>]
[metric = <number{0-100}>]
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.
Note
The parameters
gateway
and
intf
are mutually exclusive.
OPTIONAL
intf
Only for special interface routes: the outgoing IP interface name.
Note
The parameters
gateway
and
intf
are mutually exclusive.
OPTIONAL
metric
The metric for this route (weight factor).
OPTIONAL
=>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 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.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]
=>
Remove a route from the routing table.
Show current routing table.
Содержание SpeedTouch 608
Страница 1: ...SpeedTouch 608 Business DSL Routers CLI Reference Guide Release R4 2 7 600 SERIES...
Страница 2: ......
Страница 3: ...SpeedTouch 608 CLI Reference Guide Release R4 2 7...
Страница 66: ...64 Bridge Commands E DOC CTC 20040216 0002 v1 0...
Страница 84: ...82 Config Commands E DOC CTC 20040216 0002 v1 0...
Страница 126: ...124 DHCP Commands E DOC CTC 20040216 0002 v1 0...
Страница 148: ...146 Env Commands E DOC CTC 20040216 0002 v1 0 env flush Flush all non system environment variables...
Страница 150: ...148 Env Commands E DOC CTC 20040216 0002 v1 0 RELATED COMMANDS env list List all environment variables...
Страница 152: ...150 Env Commands E DOC CTC 20040216 0002 v1 0 env list Show all currently available environment variables...
Страница 154: ...152 Env Commands E DOC CTC 20040216 0002 v1 0 env unset Delete a non system environment variable...
Страница 170: ...168 ETHoA Commands E DOC CTC 20040216 0002 v1 0...
Страница 218: ...216 IP Commands E DOC CTC 20040216 0002 v1 0 ip auto flush Flush the autoIP interfaces SYNTAX ip auto flush...
Страница 234: ...232 IPoA Commands E DOC CTC 20040216 0002 v1 0...
Страница 244: ...242 IPQoS Commands E DOC CTC 20040216 0002 v1 0...
Страница 356: ...354 Phonebook Commands E DOC CTC 20040216 0002 v1 0...
Страница 372: ...370 PPPoA Commands E DOC CTC 20040216 0002 v1 0...
Страница 394: ...392 PPPoE Commands E DOC CTC 20040216 0002 v1 0...
Страница 410: ...408 QoSBook Commands E DOC CTC 20040216 0002 v1 0...
Страница 436: ...434 Software Commands E DOC CTC 20040216 0002 v1 0...
Страница 444: ...442 Switch Commands E DOC CTC 20040216 0002 v1 0...
Страница 454: ...452 System Commands E DOC CTC 20040216 0002 v1 0...
Страница 460: ...458 Systemlog Commands E DOC CTC 20040216 0002 v1 0...
Страница 468: ...466 UPnP Commands E DOC CTC 20040216 0002 v1 0...
Страница 488: ...486 Supported Key Names E DOC CTC 20040216 0002 v1 0...
Страница 489: ......
Страница 490: ...2004 THOMSON Telecom All rights reserved E DOC CTC 20040216 0002 v1 0 600 SERIES www speedtouch com Built for excellence...