180
C
9: C
HAPTER
ONFIGURATION
loopback-detection enable
Syntax
View
Parameter
Description
Related command:
Example
loopback-detection interval-time
Syntax
View
C
E
OMMANDS FOR
THERNET
loopback-detection enable
undo loopback-detection enable
System view/Ethernet interface view
None
Use the
loopback-detection enable
globally or on a specified port.
Use the
undo loopback-detection enable
detection globally or on a specified port.
By default, loopback detection is disabled for an Access, Trunk, or Hybrid port.
If an Access port has been detected with loopback, it will be shutdown. A Trap
■
message will be sent to the terminal and the corresponding MAC address If a
Trunk port or Hybrid port has been detected with loopback, a Trunk message
will be sent to the terminal. They will be shutdown if the loopback testing
function is enabled on them. In addition, a Trap message will be sent to the
terminal and the corresponding MAC address forwarding entries will be
deleted.
loopback-detection control enable.
c
CAUTION:
Loopback detection on a given port is enabled only after the
■
loopback-detection enable command has been issued in both system view
and the interface view of the port.
Loopback detection on all ports will be disabled after the issuing of the undo
■
loopback-detection enable command under system view.
# Enable loopback detection on the interface Ethernet 1/0.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] loopback-detection enable
loopback-detection interval-time time
undo loopback-detection interval-time
System view
I
B
M
NTERFACES IN
RIDGE
ODE
command to enable loopback detection
command to disable loopback