198
Step Command Remarks
3. Configure the maximum
number of PVCs allowed
on the ATM interface.
pvc max-number
max-number
Optional.
The maximum number of PVCs
allowed on an ATM interface
depends on the interface type.
This command applies to both a
main ATM interface and its
subinterfaces. However, you can
configure this command only in
main ATM interface view.
Configuring an ATM class
An ATM class facilitates ATM configuration. Configurations of PVC MAP, encapsulation type, OAM
loopback, and service category can be implemented through an ATM-Class. First, create an ATM
class and set the parameters needed, and then call the ATM class in PVC view or ATM interface
view.
When you configure a PVC, follow these guidelines:
• The priorities of the same configurations performed to a PVC descend in the following order: the
configuration directly performed to the PVC, the configuration performed to the ATM class
applied to the PVC, and the configuration performed to the ATM class applied to the ATM
interface.
• For different configurations that conflict with each other, their priorities descend in the following
order: the configuration directly performed to the PVC, the configuration performed to the ATM
class applied to the PVC, and the configuration performed to the ATM class applied to the ATM
interface.
• All the configurations directly performed to the PVC, performed to the ATM class applied to the
PVC, and performed to the ATM class applied to the ATM interface take effect if they do not
conflict.
• For different configurations performed to a PVC, the ATM class applied to the PVC, and the
ATM class applied to the ATM interface, if the configurations conflict with each other, those
applied first take effect, and the conflict prompt appears when the rest are performed.
• When an ATM class is applied to a PVC, no message is prompted no matter whether or not the
ATM class is successfully applied.
• Error messages appear when configurations performed to a PVC are invalid.
To configure an ATM class:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Create an ATM class and
enter ATM class view.
atm class
atm-class-name N/A
3. Specify ATM AAL5
encapsulation type for the
PVC.
encapsulation
aal5-encap
Optional.
By default, aal5snap
encapsulation is adopted.