< Home

interface-status-change mac-withdraw enable

Function

The interface-status-change mac-withdraw enable command enables the PEs to send LDP MAC Withdraw messages to all peers when the status of the AC interface bound to the VSI changes.

The undo interface-status-change mac-withdraw enable command disables the PEs from sending LDP MAC Withdraw messages to all peers when the status of the AC interface bound to the VSI changes.

By default, a PE does not send LDP MAC Withdraw messages when the status of the AC interface bound to the VSI changes.

Format

interface-status-change mac-withdraw enable

undo interface-status-change mac-withdraw enable

Parameters

None

Views

VSI-LDP view, VSI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On enterprise networks, you can configure this command on the PE to enable the PE to update the MAC address entry when the AC link is in Down state. In this way, the PE connected to the SPE sends LDP MAC Withdraw messages to all peers when the status of the SPE-side interface changes.

Precautions

If the local end sends MAC-Withdraw messages, the remote VSI clears local MAC addresses and learns new MAC addresses.

After you run the interface-status-change mac-withdraw enable command, the PE sends LDP MAC-Withdraw messages to all peers if the status of the interface bound to the VSI changes:
  • From Down to Up.
  • From Up to Down.

The interface-status-change mac-withdraw enable takes effect only when the mac-withdraw enable is configured.

Example

# Enable the PE to send LDP MAC Withdraw messages to all peers when the status of the AC interface bound to the VSI changes.

<HUAWEI> system-view
[HUAWEI] vsi v1 static
[HUAWEI-vsi-v1] pwsignal ldp
[HUAWEI-vsi-v1-ldp] interface-status-change mac-withdraw enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >