The monitor mac-shift command enables MAC flapping-based loop detection association on an interface.
The undo monitor mac-shift command disables the function.
By default, MAC flapping-based loop detection association is disabled on an interface.
Layer 2 100GE interface view, 100GE interface view, Layer 2 10GE interface view, 10GE interface view, 25GE-L2 view, 25GE interface view, 400GE-L2 view, 400GE interface view, Layer 2 40GE interface view, 40GE interface view, Layer 2 50GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE interface view, GE electrical interface view
Usage Scenario
If a loop occurs in the VSI, VLAN or BD bound to a sub-interface, the sub-interface is blocked. However, a loop may also exist in a VSI, a VLAN 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, run the monitor mac-shift command to configure MAC flapping-based loop detection association on the interface of the sub-interfaces bound to VSIs, VLANs or BDs. In this situation, if a sub-interface bound with a VSI, a VLAN 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, VLANs or BDs are blocked.
Configuration Impact
Sub-interfaces of an interface may be bound to different VSIs, VLANs or BDs. If a loop occurs in one VSI, VLAN or BD, the sub-interface bound to the VSI, VLAN or BD is blocked, and the interface is also blocked. The other sub-interfaces of the interface are also blocked and cannot be trusted.
Precautions
The monitor mac-shift command can be run on both Layer 2 and Layer 3 interfaces.