26
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] loopback-detection enable
loopback-detection interval-time
Syntax
loopback-detection interval-time time
undo loopback-detection interval-time
View
System view
Default level
2: System level
Parameters
time
: Sets the loopback detection interval, ranging from 5 to 300 seconds.
Description
Use
loopback-detection interval-time
to set the loopback detection interval.
Use
undo loopback-detection interval-time
to restore the default loopback detection interval.
The default 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
Description
Use
loopback-detection multi-port-mode enable
to enable multi-port loopback detection.
Use
undo loopback-detection multi-port-mode enable
to restore the default.
By default, multi-port loopback detection is disabled.
If a device receives a packet that it sent out, a loop has occurred. Depending on whether the
receiving interface is the same as the sending interface, loops include the following categories: