response-ac-state

Function

The response-ac-state command enables a VSI to learn the EVC Layer 2 sub-interface Down event when all EVC Layer 2 sub-interfaces in a BD are Down.

The undo response-ac-state command restores the default configuration.

By default, a VSI is unaware of the EVC Layer 2 sub-interface Down event when all EVC Layer 2 sub-interfaces in a BD are Down.

Format

response-ac-state

undo response-ac-state

Parameters

None

Views

VSI-BD view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In a VPLS over EVC scenario, each BD functions as an access-side service instance and EVC Layer 2 sub-interfaces join each BD as AC interfaces. The BD status is determined by the status of EVC Layer 2 sub-interfaces in the BD as well as that of the VSI. A BD goes Down only when the status of all EVC Layer 2 sub-interfaces in the BD as well as that of the VSI are both Down. The EVC Layer 2 sub-interface status is independent of the VSI status.

In a VPWS accessing VPLS scenario where a VSI VC is configured on the local end and a VPWS VC is configured on the remote end, if all EVC Layer 2 sub-interfaces in the BD are Down, the remote VPWS VC cannot quickly detect the fault. As a result, traffic is interrupted. To solve this problem, run the response-ac-state command, so that the VSI can learn the AC interface Down event immediately after all EVC Layer 2 sub-interfaces in the BD go Down. Then, the VSI will set the PW status to Down.

Precautions

The response-ac-state command applies only to LDP VPLS over EVC, BGP VPLS over EVC, and BGP AD VPLS over EVC scenarios.

Example

# Enable a VSI to learn the EVC Layer 2 sub-interface Down event when all EVC Layer 2 sub-interfaces in a BD are Down.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi v1 bd-mode
[*HUAWEI-vsi-v1] response-ac-state
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >