The transmit-atm-cells command configures the maximum number of ATM cells to be encapsulated into a packet that can be sent by a device in a PW template.
The undo transmit-atm-cells command deletes the maximum number of ATM cells to be encapsulated into a packet that can be sent by a device in a PW template.
By default, the maximum number of ATM cells to be encapsulated into a packet that can be sent by a device is not configured.
Usage Scenario
When VPWS PWs are used to carry ATM services, the maximum number of ATM cells to be encapsulated into a packet that can be sent by the local PE is limited by max-atm-cell-value in the max-atm-cells command used for PW negotiation on the remote PE. If max-atm-cell-value is beyond the processing capability of the local PE, run the transmit-atm-cells transmit-atm-cell-value command to configure the maximum number of ATM cells to be encapsulated into a packet that can be sent by a device. Then the local PE compares its transmit-atm-cell-value with max-atm-cell-value received from the remote PE and encapsulates ATM cells into a packet for transmission based on the smaller one of the two values. The transmit-atm-cell-value value range is limited by the processing capability of a device. You can set transmit-atm-cells-value of a Huawei device for this device to communicate with non-Huawei devices. By default, the maximum number of ATM cells to be sent is not configured, and the device encapsulates ATM cells based on max-atm-cell-value received from a peer device.
Prerequisites
A PW template has been created and the PW template view is displayed, or the PW template view is directly displayed using the pw-template command.
Configuration Impact
After the transmit-atm-cells command is run, the local PE compares its transmit-atm-cells with max-atm-cells received from a remote PE and encapsulates ATM cells into packets for transmission based on the smaller one of the two values. If the transmit-atm-cells command is not run, the local PE encapsulates ATM cells into packets based on max-atm-cells specified in the max-atm-cells command received from a remote PE.
Follow-up Procedure
Run the reset pw command for the new PW template attributes to take effect.
Precautions