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.
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.
The interface-status-change mac-withdraw enable takes effect only when the mac-withdraw enable is configured.