max-atm-cells

Function

The max-atm-cells command configures the maximum number of ATM cells that can be transmitted in a PW template.

The undo mpls l2vc admin command restores the default maximum number of ATM cells that can be transmitted in a PW template.

By default, the maximum number of ATM cells that can be transmitted in a PW template is 28.

Format

max-atm-cells max-atm-cells-value

undo max-atm-cells

Parameters

Parameter Description Value
max-atm-cells-value

Specifies the maximum number of ATM cells that can be transmitted.

The value is an integer ranging from 1 to 28. The default value is 28.

Views

PW template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

When VPWS PWs are used to carry ATM services and the network bandwidth is limited, to lessen the consumption of system resources, run the max-atm-cells command to configure the maximum number of ATM cells that can be transmitted. Then the local PE sends the configured max-atm-cells-value to a remote PE. Upon receipt, the remote PE compares its max-atm-cells-value with the received max-atm-cells-value and encapsulates ATM cells into packets based on the smaller one of the two values.

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 pw-template-name command.

Configuration Impact

After the max-atm-cells command is run, the local PE compares its max-atm-cells-value with max-atm-cells-value received from a remote PE and encapsulates ATM cells into packets for transmission based on the smaller one of the two values. If max-atm-cells-value is not configured, the default value 28 of max-atm-cells-value is used.

Follow-up Procedure

Run the reset pw command for the new PW template attributes to take effect. Run the display mpls l2vc command and check the max ATM cells field value to see if the maximum number of ATM cells that can be transmitted has been applied to PWs.

Precautions

The max-atm-cells command takes effect only on interfaces that carry ATM services.

If the mpls l2vc or mpls static-l2vc command with the max-atm-cell-value parameter is run and the max-atm-cells command is run in the PW template view to configure the maximum number of ATM cells that can be transmitted, the mpls l2vc or mpls static-l2vc command takes effect.

The max-atm-cells command cannot be run during ISSU.

The max-atm-cells command takes effect only on interfaces that carry ATM services.

If the mpls l2vc or mpls static-l2vc command with the max-atm-cell-value parameter is run and the max-atm-cells command is run in the PW template view to configure the maximum number of ATM cells that can be transmitted, the mpls l2vc or mpls static-l2vc command takes effect.

Example

# Configure the maximum number of ATM cells to be transmitted in the PW template pt as 20.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] pw-template pt
[*HUAWEI-template-pt] max-atm-cells 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >