Command Manual – Port Correlation Configuration
H3C S7500E Series Ethernet Switches
Chapter 1 Ethernet Port Configuration
Commands
1-19
undo loopback-detection enable
View
System view, Ethernet port view
Parameters
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.
z
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 commands:
loopback-detection control enable
.
Caution:
z
Loopback detection on a given port is enabled only after the
loopback-detection
enable
command has been issued in both system view and the port view of the port.
z
Loopback detection on all ports will be disabled after the issuing of the
undo
loopback-detection enable
command under system view.
Examples
# Enable loopback detection on port Ethernet 2/0/1.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] loopback-detection enable