Command Manual (For Soliton) – Port Basic Configuration
H3C S3100 Series Ethernet Switches
Chapter 1 Port Basic Configuration
Commands
1-25
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.
After the loop is removed, the port will automatically resume the normal forwarding
state.
z
With the function disabled on the trunk or hybrid port, the system will only send log
messages to the terminal, and the port is still in the normal forwarding state.
By default, the loopback port control function is enabled on ports if the device boots with
the default configuration file (config.def); if the device boots with null configuration, this
function is disabled.
Note that this command is invalid for an access port.
Related command:
loopback-detection enable
.
Example
# Enable the loopback port control function on Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] loopback-detection control enable
1.1.20 loopback-detection enable
Syntax
loopback-detection enable
undo loopback-detection enable
View
System view or Ethernet port view