Command Manual – Port Correlation Configuration
H3C S7500E Series Ethernet Switches
Chapter 1 Ethernet Port Configuration
Commands
1-18
1.1.16 loopback-detection control enable
Syntax
loopback-detection control enable
undo loopback-detection control enable
View
Ethernet port view
Parameters
None
Description
Use the
loopback-detection control enable
command to enable loopback detection
for a Trunk port or Hybrid port.
Use the
undo loopback-detection control enable
command to restore the default.
By default, loopback detection for a Trunk port or Hybrid port is disabled.
z
When the loopback detection is enabled, if a port has been detected with loopback,
it will be shutdown. A Trap message will be sent to the terminal and the
corresponding MAC address forwarding entries will be deleted.
z
When the loopback detection is disabled, if a port has been detected with
loopback, a Trap message will be sent to the terminal. The port is still working
properly.
By default, loopback detection for Trunk port and Hybrid port is disabled.
Note that this command is inapplicable to an Access port as its loopback detection is
enabled by default.
Examples
# Enable loopback detection for trunk port Ethernet 2/0/1.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] port link-type trunk
[Sysname-Ethernet2/0/1] loopback-detection enable
[Sysname-Ethernet2/0/1] loopback-detection control enable
1.1.17 loopback-detection enable
Syntax
loopback-detection enable