reset loop-detect eth-loop
Function
The reset loop-detect eth-loop command unblocks a blocked interface or MAC address in a specified VLAN.
Format
reset loop-detect eth-loop vlan vlan-id { all | interface interface-type interface-number | mac-address mac-address }
Parameters
Parameter |
Description |
Value |
---|---|---|
vlan vlan-id |
Specifies the ID of a VLAN. |
The value is an integer that ranges from 1 to 4094. |
all |
Unblocks all the permanently blocked interfaces in the specified VLAN. If all is specified, the system unblocks all permanently blocked interfaces and MAC addresses in the specified VLAN, and then starts MAC address detection on the interfaces and MAC addresses. |
- |
interface interface-type interface-number |
Specifies an interface in the specified VLAN.
If interface interface-type interface-number is specified, the system unblocks the specified interface, and then starts MAC address detection on the interface. |
- |
mac-address mac-address |
Specifies a permanently blocked MAC address in the specified VLAN. If mac-address mac-address is specified, the system unblocks the specified MAC address, and then starts MAC address detection for the MAC address. |
The value is in the H-H-H format. H is a hexadecimal number of 1 to 4 digits. |
Usage Guidelines
Usage Scenario
If the device is configured to block the MAC address or interface, it performs the following action:
When detecting MAC address flapping in a VLAN, the AC blocks the interface or MAC address for block-time seconds, and then checks for MAC address flapping again. If no MAC address flapping occurs within 20 seconds, the AC unblocks the interface or MAC address and starts a new round of detection. If MAC address flapping is detected again within 20 seconds, the AC repeats the MAC address flapping detection process for a certain number of times (specified by retry-times). If the MAC address flapping persists, the interface or MAC address is permanently blocked.
After an interface is permanently blocked, it no longer forwards packets or learns MAC addresses. After MAC address flapping is removed, you can run the reset loop-detect eth-loop command to unblock the interface so that the interface can forward traffic and learn MAC addresses again.
Precautions
Before running the reset loop-detect eth-loop command, you can run the display loop-detect eth-loop command to view the result of MAC address flapping detection. According to the command output, you can find which interface or MAC address to unblock.