180 CHAPTER 9: CONFIGURATION COMMANDS FOR ETHERNET INTERFACES IN BRIDGE MODE
loopback-detection enable
Syntax loopback-detection enable
undo loopback-detection enable
View System view/Ethernet interface view
Parameter None
Description Use the
loopback-detection enable command to enable loopback detection
globally or on a specified port.
Use the
undo loopback-detection enable command to disable loopback
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.
Related command: 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.
Example # 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
Syntax loopback-detection interval-time time
undo loopback-detection interval-time
View System view