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.)
(Optional.)
Enabling loop detection
You can enable loop detection globally or on a per-port basis. The global configuration applies to all
ports in the specified VLANs. The per-port configuration applies to the individual port only when the
port belongs to the specified VLANs. Per-port configurations take precedence over global
configurations.
As a best practice, do not enable 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
Enter system view.
1.
Globally enable loop
2.
detection.
Enabling loop detection on a port
Step
Enter system view.
1.
Enter Layer 2 Ethernet
2.
interface view or Layer 2
aggregate interface view.
Enable loop detection on the
3.
port.
Setting the loop protection action
You can configure the loop protection action globally or on a per-port basis. The global setting
applies to all ports. The per-port setting applies to the individual ports. The per-port setting takes
precedence over the global setting.
Enabling loop detection
Setting the loop protection action
Setting the loop detection interval
Command
system-view
loopback-detection global
enable vlan { vlan-list | all }
Command
system-view
interface interface-type
interface-number
loopback-detection enable vlan
{ vlan-list | all }
109
Remarks
N/A
Disabled by default.
Remarks
N/A
N/A
Disabled by default.