132
Port status auto recovery
When the loop protection action block or no-learning is used, if the switch receives no loop detection
frame three loop detection intervals after a loop is detected on a port, the switch automatically sets the
port to the forwarding state, and the switch notifies the user of the event.
When the loop protection action shutdown is used, the switch automatically shuts down a port upon
detecting a loop on the port. After the detection timer set by using the
shutdown-interval
command
expires, the switch automatically brings up the port. The 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
problem, use the shutdown action or manually remove the loop.
Loop detection configuration task list
Tasks at a glance
Configuring the loop protection action
Setting the loop detection interval
Enabling loop detection
You can enable loop detection globally or on specific ports. The global configuration applies to all ports
in the specified VLAN. The per-port configuration applies to the individual port only when the port
belongs to the specified VLAN. Per-port configurations take precedence over global configurations.
H3C recommends not enabling loop detection on TRILL ports, because TRILL networks prevent loops from
being generated. For information more about TRILL, see
TRILL Configuration Guide
.
Enabling loop detection globally
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Globally enable loop
detection.
loopback-detection global enable
vlan
{
vlan-list
|
all
}
Disabled by default.
Enabling loop detection on a port
Step Command
Remarks
1.
Enter system view.
system-view
N/A