The loop-detect eth-loop priority command configures the blocking priority of an interface for MAC flapping-based loop detection.
The undo loop-detect eth-loop priority command restores the default setting.
By default, the blocking priority of an interface is 1.
Parameter | Description | Value |
---|---|---|
priority priority |
Specifies the blocking priority of an interface. |
The value is an integer ranging from 1 to 4. If a loop occurs, the device blocks an interface with a low blocking priority value. If the value is 4 on an interface or a PW, the interface or PW is never blocked, and the MAC flapping-based loop detection is invalid. |
Layer 2 100GE interface view, 100GE interface view, Layer 2 10GE interface view, 10GE interface view, 25GE-L2 view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE-L2 view, 400GE interface view, Layer 2 40GE interface view, 40GE interface view, 50GE Layer 2 sub-interface view, Layer 2 50GE interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE Layer 2 sub-interface view, Layer 2 GE interface view, GE optical interface view, GE interface view, GE electrical interface view, Layer 2 sub-interface view, Sub-interface view
Usage Scenario
After MAC flapping-based loop detection is configured on devices of a BD (Bridge-Domain), if a device detects a loop, the device blocks an interface based on its blocking priority. To configure the blocking priority of an interface, run the loop-detect eth-loop priority command.
Precautions
If a loop occurs and the AC-side interfaces have the same blocking priority, the AC-side interfaces are all blocked.
If MAC flapping-based loop detection is configured for a BD using the loop-detect eth-loop loop-times loop-times detect-cycle detect-cycle-time cycles cycles command with detect-cycle-time and cycles specified and a blocking priority is configured on an interface bound to the BD using the loop-detect eth-loop priority priority command, the detection cycle is as follows: