4
By default, loop detection is disabled on ports.
Setting the loop protection action
Restrictions and guidelines for loop protection action
configuration
You can set the loop protection action globally or on a per-port basis. The global action applies to all
ports. The per-port action applies to the individual ports. The per-port action takes precedence over
the global action.
Setting the global loop protection action
1.
Enter system view.
system-view
2.
Set the global loop protection action.
loopback-detection global action
shutdown
By default, the device generates a log but performs no action on the port on which a loop is
detected.
Setting the loop protection action on an interface
1.
Enter system view.
system-view
2.
Enter interface view.
interface
interface-type interface-number
3.
Set the loop protection action on the interface.
loopback-detection action
{
block
|
no-learning
|
shutdown
}
By default, the device generates a log but performs no action on the port on which a loop is
detected.
Support for the keywords of this command varies by interface type. For more information, see
Layer 2
—
LAN Switching Command Reference
.
Setting the loop detection interval
About the loop detection interval
With loop detection enabled, the device sends loop detection frames at the loop detection interval. A
shorter interval offers more sensitive detection but consumes more resources. Consider the system
performance and loop detection speed when you set the loop detection interval.
Procedure
1.
Enter system view.
system-view
2.
Set the loop detection interval.
loopback-detection interval-time interval
The default setting is 30 seconds.
Содержание S6850 Series
Страница 108: ...48 WGE1 0 3 32768 49153 50100 0x7b 0001 0001 0001 ACDEF...
Страница 259: ...21 6 N A 200 6...
Страница 337: ...ii...