mpls l2vpn pw ignore-ac-state

Function

The mpls l2vpn pw ignore-ac-state command disables an AC interface from affecting the PW status when the AC interface's status changes.

The undo mpls l2vpn pw ignore-ac-state command restores the default configuration.

By default, the status change of an AC interface affects the PW status.

Format

mpls l2vpn pw ignore-ac-state [ bypass | secondary ]

undo mpls l2vpn pw ignore-ac-state [ bypass | secondary ]

Parameters

Parameter Description Value
bypass

Indicates a standby PW.

-

secondary

Indicates a secondary PW.

-

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In the reliability scenario where an LDP VC is configured to protect a CCC VC, when an AC interface goes Down, the PW status also goes Down. When the AC interface goes Up, the PW has to negotiate the status and reestablish a connection. At this time, if an active/standby PW switchover is being performed, traffic is switched back to the active PW only after the PW negotiation is complete. As a result, the switchback performance deteriorates. To improve the switchback performance, run the mpls l2vpn pw ignore-ac-state command. With this configuration, when an AC interface goes Down, its connected PW remains Up; when the AC interface goes Up, the PW does not have to reestablish a connection.

Prerequisites

A PW has been configured on an interface.

Example

# Configure a PW in the GE interface view, and disable the AC interface from affecting the PW status when the AC interface status changes.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 1.1.1.1 10
[*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn pw ignore-ac-state
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >