○
○
○
○
○
A- Commonly Used Commands
A-18
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
A.3.5
<channel> pvc
Syntax:
<channel> pvc [[<port>] <vpi>] <vci> [ip|mac] [listen]
<channel> pvc none
Description:
Attach an ATM PVC to the given PPP channel. The port can be specified (only for
a multi-port device), and the VPI (default is 0), and the VCI.
The allowable range of port, VPI, VCI depends on the atm driver. Normal limits are
0 only for port, 0 only for VPI, 1..1023 for VCI.
If a single argument none is supplied, any current connection is torn down.
In the PPP state machine, providing a link of this form causes the link to be up.
Note that enable must also be used, to allow the link to become operational.
The
ip
or
mac
indicates which form of data is transported over the connection: one
of IP data (controlled by the IPCP protocol), or MAC data (for BCP). If neither is
provided, ip is assumed.
If the channel is not linked to an interface, and the channel is for IP data, the channel
is linked to interface 1. If the channel is not linked to an interface, and the channel
is for MAC data, the channel is linked to interface 2.
It is possible for a PVC to become down in the PPP state machine even though the
PVC is still there, for instance due to an authentication failure. If in this state, an
incoming packet will cause the PPP state machine to go up.
If
listen
is specified then this is the server end of a PVC. It will not send out PPP
Configure Requests until it first receives a packet over the PVC. When a connection
is torn down it goes returns to this state.
Use the
info
command to read this information.
Configuration saving saves this information. By default a channel has no connection
information.
Example:
ppp 3 pvc 3 32
set channel 3 to be (VPI=3, VCI=32)
ppp 4 pvc
read PVC settings for channel 4
ppp 5 pvc 0
remove any PVC settings from channel 5