H3C Loopback Detection Feature Manual
Release 2107
Chapter 2 Loopback Detection Configuration
Commands
2-1
Chapter 2 Loopback Detection Configuration
Commands
Note:
Two functions are added to release 2107: configuring loopback detection for a list of
ports in bulk, and enabling auto-shutdown of loopback ports. For detailed description of
the two functions, refer to loopback-detection
interface-list
enable and
loopback-detection shutdown enable.
2.1 Loopback Detection Configuration Commands
2.1.1 loopback-detection control enable
Syntax
loopback-detection control enable
undo loopback-detection control enable
View
Ethernet port view
Parameter
None
Description
Use the
loopback-detection control enable
command to enable the loopback port
control function on the current trunk or hybrid port.
Use the
undo loopback-detection control enable
command to disable the loopback
port control function on the trunk or hybrid port.
The loopback port control function works in conjunction with the loopback detection
function (refer to loopback-detection enable). If a loop is found on a VLAN of the trunk
or hybrid port:
z
With the function enabled on the trunk or hybrid port, the system will set the port to
the
block
state (ports in this state cannot forward data packets), send log
messages to the terminal, and remove the corresponding MAC forwarding entry.