The loop-detect mac-withdraw enable command enables a sub-interface or an interface to delete MAC address entries when its loop detection status changes.
The undo loop-detect mac-withdraw enable command disables a sub-interface or an interface from deleting MAC address entries when its loop detection status changes.
By default, when a sub-interface and interface's loop detection status changes, it does not delete its MAC address entries.
Usage Scenario
On a VPLS network, after an AC sub-interface or interface has loop detection enabled using the loop-detect enable command, if the access link or device fails, the devices bound to the same VSI cannot immediately detect this failure and therefore cannot promptly update their MAC address entries. To resolve this problem, run the loop-detect mac-withdraw enable command on the AC sub-interface or interface to enable it to delete MAC address entries when its loop detection status changes.
The loop-detect mac-withdraw enable command speeds up traffic switching.Prerequisites