PPP Commands
E-DOC-CTC-20060414-0002 v1.0
537
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 SpeedTouch 516
Page 2: ......
Page 3: ...SpeedTouch 516 v6 536 v6 546 v6 CLI Reference Guide ...
Page 30: ...ADSL Commands E DOC CTC 20060414 0002 v1 0 10 ...
Page 61: ...ATM Commands E DOC CTC 20060414 0002 v1 0 41 atm oam ping Send ATM loopback cells ...
Page 86: ...AutoPVC Commands E DOC CTC 20060414 0002 v1 0 66 ...
Page 94: ...Config Commands E DOC CTC 20060414 0002 v1 0 74 ...
Page 130: ...DHCP Commands E DOC CTC 20060414 0002 v1 0 110 dhcp client ifdelete Delete a DHCP client ...
Page 315: ...Expr Commands E DOC CTC 20060414 0002 v1 0 295 EXAMPLE 1 ...
Page 317: ...Expr Commands E DOC CTC 20060414 0002 v1 0 297 EXAMPLE 2 ...
Page 322: ...Expr Commands E DOC CTC 20060414 0002 v1 0 302 ...
Page 360: ...GRP Commands E DOC CTC 20060414 0002 v1 0 340 ...
Page 382: ...IDS Commands E DOC CTC 20060414 0002 v1 0 362 ...
Page 404: ...Interface Commands E DOC CTC 20060414 0002 v1 0 384 ...
Page 446: ...IP Commands E DOC CTC 20060414 0002 v1 0 426 ...
Page 482: ...Label Commands E DOC CTC 20060414 0002 v1 0 462 ...
Page 500: ...MBUS Commands E DOC CTC 20060414 0002 v1 0 480 ...
Page 574: ...PPTP Commands E DOC CTC 20060414 0002 v1 0 554 ...
Page 602: ...Service Commands E DOC CTC 20060414 0002 v1 0 582 ...
Page 618: ...SNMP Commands E DOC CTC 20060414 0002 v1 0 598 ...
Page 628: ...Software Commands E DOC CTC 20060414 0002 v1 0 608 ...
Page 656: ...Upgrade Commands E DOC CTC 20060414 0002 v1 0 636 ...
Page 684: ...System Logging Messages E DOC CTC 20060414 0002 v1 0 664 ...
Page 694: ...Supported Key Names E DOC CTC 20060414 0002 v1 0 674 ...
Page 709: ......