Step
3.
Configure the loop protection
action on the interface.
Setting the loop detection interval
With loop detection enabled, the switch sends loop detection frames at a specified 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.
To set the loop detection interval:
Step
1.
Enter system view.
2.
Set the loop detection interval.
Displaying and maintaining loop detection
Execute display commands in any view.
Task
Display the loop detection configuration and status.
Loop detection configuration example
Network requirements
As shown in
notification and automatically shuts down the port on which a loop is detected.
Command
system-view
loopback-detection interval-time
interval
Figure
37, configure loop detection on Device A, so that Device A generates a log as a
Command
loopback-detection action
shutdown
Command
display loopback-detection
129
Remarks
By default, the switch generates
a log but performs no action on
the port on which a loop is
detected.
Remarks
N/A
The default setting is 30 seconds.