1.
The device automatically shuts down the port.
2.
The device automatically sets the port to the forwarding state after the detection timer set by
using the shutdown-interval command expires. For more information about the
shutdown-interval command, see Fundamentals Command Reference.
3.
The device shuts down the port again if a loop is still detected on the port when the detection
timer expires.
This process is repeated until the loop is removed.
NOTE:
Incorrect recovery can occur when loop detection frames are discarded to reduce the load. To avoid
this, use the shutdown action, or manually remove the loop.
Loop detection configuration task list
Tasks at a glance
(Required.)
(Optional.)
Setting the loop protection action
(Optional.)
Setting the loop detection interval
Enabling loop detection
You can enable loop detection globally or on a per-port basis. When a port receives a detection
frame in any VLAN, the loop protection action is triggered on that port, regardless of whether loop
detection is enabled on it.
Enabling loop detection globally
Step
1.
Enter system view.
2.
Globally enable loop
detection.
Enabling loop detection on a port
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet or
aggregate interface view.
3.
Enable loop detection on the
port.
Enabling loop detection
Command
system-view
loopback-detection global
enable vlan { vlan-id--list | all }
Command
system-view
interface interface-type
interface-number
loopback-detection enable vlan
{ vlan-id--list | all }
3
Remarks
N/A
Disabled by default.
Remarks
N/A
N/A
Disabled by default.