ADSL interface
U
SER
G
UIDE
62
set adsl encap pppoa-llc|pppoa-vcmux|pppoe-llc|pppoe-vcmux rfc1483-llc|rfc1483-vcmux
In order to configure the number and type of PVC the command is:
set adsl pvc_number <value>
set adsl pvc atmX vpi <value> vci <value>
pvc_number
can have a maximum value of 8
6
and
atmX
will be
atm0
,
atm1
,…
atm7
. The default
value of
pvc_number
is 1.
In order to configure
vpi
(value 8) and
vci
(value 35):
set adsl pvc atm0
|…|atm
7 vpi <value> vci <value> [pcr <value>]
If the encapsulation type is rfc1483-vcmux or rfc1483-llc (protocols described in RFC 1483,
Multiprotocol Encapsulation over ATM Adaptation Layer 5) it is necessary to define an IP address
through the command:
set adsl pvc atm0
|…|atm
7 ipaddr <value>
To remove the IP address:
set adsl pvc atm0
|…|atm
7 no-ipaddr
Otherwise, according to the information received from the Service Provider, the following
commands could be used:
set adsl pvc atm0
|…|atm
7 ipaddr <value>
set adsl pvc atm0
|…|atm
7 nexthop
set adsl pvc atm0
|…|atm
7 netmask <value>
set adsl pvc atm0
|…|atm
7 mtu <value>
In order to assign an IPv6 address the command is:
set adsl pvc atm0|…|atm7 ipv6addr X:X::X:
X/M
A default route could be required:
set adsl pvc atm0
|…|atm
7 default-route
To enable NAT functions:
set adsl pvc atm0
|…|atm
7 masquerade
And to remove the options:
set adsl pvc atm0
|…|atm
7 no-ipaddr
set adsl pvc atm0
|…|atm
7 no-nexthop
set adsl pvc atm0
|…|atm
7 no-mtu
set adsl pvc atm0
|…|atm
7 no-default-route
set adsl pvc atm0
|…|atm
7 no-masquerade
When PPPoA
(PPP over ATM) or PPPoe (PPP over Ethernet) encapsulation types are used, the
login
and
password
for authentication must be defined:
set adsl login <value> password <value>
It is possible to configure the type of ATM traffic per PVC as follows:
6
-
PPPoA and PPPoE connections can only have a single PVC.