Loop detection commands
display loopback-detection
Use display loopback-detection to display the loop detection configuration and status.
Syntax
display loopback-detection
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Example
# Display the loop detection configuration and status.
<Sysname> display loopback-detection
Loopback detection is enabled.
Loopback detection interval is 30 second(s).
Loopback is detected on following interfaces:
Interface
GigabitEthernet3/0/2
GigabitEthernet3/0/3
Table 21 Command output
Field
Action mode
loopback-detection action
Use loopback-detection action to configure the loop protection action on a port.
Use undo loopback-detection action to restore the default.
Syntax
loopback-detection action shutdown
Action mode
Shutdown
None
Description
Loop protection action:
•
None—When a loop is detected on a port, the device generates a log but
performs no action on the port.
•
Shutdown—When a loop is detected on a port, the device generates a log
and shuts down the port to disable it from receiving and sending any
frames.
90