To inform the network administrator of loops, enable MAC flapping-based loop detection association on the interface of the sub-interfaces bound with virtual switching instances (VSIs) or bridge domains (BDs). If a loop occurs in a VSI or a BD, the interface and all its sub-interfaces except for the EVC L2 sub-interfaces are blocked, and an alarm is generated.
MAC flapping-based loop detection can associate an interface with its sub-interfaces bound with virtual switching instances (VSIs) or bridge domains (BDs). If a loop occurs in the VSI or the BD bound to a sub-interface, the sub-interface is blocked. However, a loop may also exist in a VSI or a BD bound to another sub-interface. If the loop is not eliminated in time, it will cause traffic congestion or even a network breakdown. To inform the network administrator of loops, enable MAC flapping-based loop detection association on the interface of the sub-interfaces bound with VSIs or BDs. In this situation, if a sub-interface bound with a VSI or a BD is blocked due to a loop, its interface is also blocked and an alarm is generated. After that, all the other sub-interfaces bound with VSIs or BDs are blocked.
Before configuring MAC flapping-based loop detection association, configure MAC flapping-based loop detection for a VPLS network.
The system view is displayed.
The Ethernet interface view is displayed.
MAC flapping-based loop detection association is enabled on the interface.
The monitor mac-shift command can be run on both Layer 2 and Layer 3 interfaces.
The configuration is committed.
After configuring MAC flapping-based loop detection association, check the configurations as follows:
Run the display loop-detect eth-loop [ vsi vsi-name | bridge-domain bd-id ] command to view the configuration information of MAC flapping-based loop detection in a VSI or a BD. Link-Block Port shows the associated interface.