PPP Commands
E-DOC-CTC-20050531-0057 v1.0
497
ppp rtadd
Add a route to the routing table when the PPP link comes up.
This route configuration will determine which local hosts are allowed to use this link and/or which remote
destinations should be or should not be reachable.
SYNTAX:
where:
The interface must not be connected when a route configuration is added. If this should be the case, use
the command
:ppp ifdetach
for this interface prior to configuring routes.
ppp rtadd
intf = <intfname>
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <string>]
[src = <ip-address>]
[srcmsk = <ip-mask(dotted or cidr)>]
[metric = <number{0-100}>]
intf
The name of the PPP interface.
REQUIRED
dst
The IP destination address specification for the route to be added when the link comes
up.
REQUIRED
dstmsk
The destination IP mask.
Depending on the destination netmask:
Any remote destination is reachable, in other words, the PPP connection acts as
default route (
dstmsk=0
)
Only the remote (sub)net is reachable (
dstmsk=1
)
The actual destination mask will be the default netmask applicable for destination
IP address
Only the single remote host is reachable (
dstmsk=32
)
Any valid (contiguous) netmask in case of Variable Length Subnet
Masking (VLSM).
OPTIONAL
label
The name of the label.
OPTIONAL
src
The IP source address specification for the route (in other words, who can use this link).
OPTIONAL
srcmsk
The source IP mask.
Depending on the source netmask:
Everybody is allowed to use this PPP connection (
dstmsk=0
)
Only members of the same subnet as the host which opened the PPP connection
are allowed to use the PPP connection (
dstmsk=1
)
The actual destination mask will be the netmask applicable for the IP address of
the host which opened the PPP connection
Only the host which opened the PPP connection is allowed to use the PPP
connection (
dstmsk=32
)
Any valid (contiguous) netmask in case of VLSM.
OPTIONAL
metric
The route metric, in other words, the cost factor of the route.
Practically, the cost is determined by the hop count.
OPTIONAL
Summary of Contents for 580
Page 1: ...SpeedTouch 580 Wireless Residential ADSL Gateway CLI Reference Guide Release R4 3 1 ...
Page 2: ......
Page 3: ...SpeedTouch 580 CLI Reference Guide R4 3 1 ...
Page 28: ...ADSL Commands E DOC CTC 20050531 0057 v1 0 8 ...
Page 80: ...ATM Commands E DOC CTC 20050531 0057 v1 0 60 ...
Page 84: ...AutoPVC Commands E DOC CTC 20050531 0057 v1 0 64 ...
Page 92: ...Config Commands E DOC CTC 20050531 0057 v1 0 72 ...
Page 118: ...CWMP Commands E DOC CTC 20050531 0057 v1 0 98 ...
Page 264: ...DSD Commands E DOC CTC 20050531 0057 v1 0 244 ...
Page 328: ...Expr Commands E DOC CTC 20050531 0057 v1 0 308 ...
Page 358: ...Firewall Commands E DOC CTC 20050531 0057 v1 0 338 ...
Page 390: ...IDS Commands E DOC CTC 20050531 0057 v1 0 370 ...
Page 532: ...PPTP Commands E DOC CTC 20050531 0057 v1 0 512 ...
Page 568: ...SNMP Commands E DOC CTC 20050531 0057 v1 0 548 ...
Page 596: ...System Commands E DOC CTC 20050531 0057 v1 0 576 ...
Page 614: ...User Commands E DOC CTC 20050531 0057 v1 0 594 ...
Page 650: ...System Logging Messages E DOC CTC 20050531 0057 v1 0 630 ...
Page 660: ...Supported Key Names E DOC CTC 20050531 0057 v1 0 640 ...
Page 675: ......