Enabling loop detection on a port, Configuring the loop protection action, Configuring the global loop protection action – H3C Technologies H3C S5560 Series Switches User Manual
Page 149
115
Enabling loop detection on a port
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet interface
view or Layer 2 aggregate
interface view.
interface interface-type
interface-number
N/A
3.
Enable loop detection on the
port.
loopback-detection enable vlan
{ vlan-list | all }
Disabled by default.
Configuring the loop protection action
You can configure the loop protection action globally or on a per-port basis. The global configuration
applies to all ports. The per-port configuration applies to the individual ports. The per-port configuration
takes precedence over the global configuration.
Configuring the global loop protection action
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the global loop
protection action.
loopback-detection global action
shutdown
By default, the switch generates a
log but performs no action on the
port on which a loop is detected.
Configuring the loop protection action on a Layer 2 Ethernet
interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet interface
view.
interface interface-type
interface-number
N/A
3.
Configure the loop protection
action on the interface.
loopback-detection action { block |
no-learning | shutdown }
By default, the switch generates
a log but performs no action on
the port on which a loop is
detected.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module