View
System view
Default level
2: System level
Parameters
time: Sets the loopback detection interval, ranging from 5 to 300 seconds.
Description
Use the loopback-detection interval-time command to set the loopback detection interval.
Use the undo loopback-detection interval-time command to restore the default loopback detection
interval.
By default, the loopback detection interval is 30 seconds.
Related commands: display loopback-detection.
Examples
# Set the loopback detection interval to 10 seconds.
<Sysname> system-view
[Sysname] loopback-detection interval-time 10
loopback-detection multi-port-mode enable
Syntax
loopback-detection multi-port-mode enable
undo loopback-detection multi-port-mode enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the loopback-detection multi-port-mode enable command to enable multi-port loopback detection
mode.
Use the undo loopback-detection multi-port-mode enable command to restore the default.
By default, multi-port loopback detection mode is disabled.
When detecting a loop between two interfaces, the system takes the following actions on the looped
interface:
If the looped interface is an access interface: perform the configured protective action, send traps
•
to the terminals, and delete all MAC address entries of the interface.
If the looped interface is a trunk or hybrid interface: send traps to the terminals. If loopback
•
detection control is enabled, perform the configured protection action on the looped interface, and
delete all MAC address entries of the interface.
30