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:

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.

4. Start transmission of OAM F5 Loopback cells or retransmission check of OAM F5 Loopback.

oam frequency frequency [ up up-count down down-count retry-frequency retry-frequency ]

Optional.

By default, OAM F5 Loopback cell transmission is disabled. However, if an OAM F5 Loopback cell is received, it should be responded.

By default, up-count is 3, down-count is 5 and retry-frequency is 1 second.

5. Set the PVC's service type and rate-related parameters.

  • Set the PVC's service type to constant bit rate (CBR):service cbr output-pcr

  • Set the PVC's service type to unspecified bit rate (UBR), and set the rate-related parameters:service ubr output-pcr

  • Set the PVC's service type to nrt-VBR, and set the rate-related parameters:service vbr-nrt output-pcr output-scr output-mbs

  • Set the PVC's service type to rt-VBR, and set the rate-related parameters:service vbr-rt output-pcr output-scr output-mbs

Optional.

By default, the service type of a PVC is UBR.

You can use these four commands to set the service type and the parameters concerning transmission rate. A newly configured service type overwrites the existing one.

6. Configure the service type (use different commands according to service types).

  • Configure IPoA and enable inverse address resolution (InARP) for the PVC:map ip inarp [ minutes ] [ broadcast ]

  • Establish PPPoA mapping for the PVC:map ppp virtual-template vt-number

  • Establish IPoEoA or PPPoEoA mapping for the PVC:map bridge virtual-ethernet interface-number

Optional.

By default, mapping is not configured. When a mapping is configured, pseudo-broadcast is not supported by default.

Before configuring InARP, make sure the aal5snap encapsulation is used. Though InARP is also supported when using aal5mux or aal5nlpid encapsulation, the system will prompt a message indicating a failure when this ATM is configured and used on PVC.

7. Return to system view

quit

N/A

8. Enter ATM interface view or PVC view

  • Enter ATM interface view:interface atm { interface-number | interface-number.subnumber }

  • Enter PVC view:pvc { pvc-name [ vpi/vci ] | vpi/vci }

N/A

9. Enable the ATM class on the interface or PVC

atm-class atm-class-name

N/A