< Home

mpls l2vpn mac-withdraw disable

Function

The mpls l2vpn mac-withdraw disable command disables the VLL from sending MAC Withdraw messages on a VPLS network with primary and secondary VLLs.

The undo mpls l2vpn mac-withdraw disable command restores the default setting.

By default, the VLL is enabled to send MAC Withdraw messages on a VPLS network with primary and secondary VLLs.

Format

mpls l2vpn mac-withdraw disable

undo mpls l2vpn mac-withdraw disable

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a VPLS scenario with primary and secondary VLLs, the primary and secondary VLLs send MAC Withdraw messages to the VPLS-enabled RSG each time a primary/secondary PW switchover is performed. After receiving the MAC Withdraw messages, the VPLS-enabled RSG clears all learned MAC addresses. Then packets will be transmitted in broadcast mode. To prevent packets from being broadcast, run the mpls l2vpn mac-withdraw disable command to disable the VLL in Ethernet or VLAN encapsulation mode from sending MAC-Withdraws messages during a primary/secondary PW switchover.

Precautions

This command takes effect only in a VPLS scenario with primary and secondary VLLs. In other scenarios, do not run the mpls l2vpn mac-withdraw disable command; otherwise, services will be interrupted.

Example

# Disable the VLL in Ethernet or VLAN encapsulation mode from sending MAC Withdraw messages during a primary/secondary PW switchover.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] mpls l2vc 2.2.2.2 100
[HUAWEI-Vlanif10] mpls l2vc 4.4.4.4 200 secondary
[HUAWEI-Vlanif10] mpls l2vpn mac-withdraw disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >