Command Manual – Port Basic Configuration
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Port Basic Configuration
Commands
Huawei Technologies Proprietary
1-19
[Quidway-Ethernet1/0/1]
1.1.18 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
detection control feature on the current trunk or hybrid port.
Use the
undo loopback-detection control enable
command to disable the loopback
detection control feature on the trunk or hybrid port.
After loopback detection is enabled by using the
loopback-detection enable
command, the
loopback-detection control enable
command can be used to control
the working status of the trunk port or hybrid port where loopback is found in a VLAN.
z
If this feature is enabled on a trunk or hybrid port, when loopback is found on the
port, the system sets the port to a controlled working state and removes the MAC
address entries corresponding to the port.
z
If this feature is disabled on a trunk or hybrid port, when loopback is found on the
port, the system just reports a Trap message, and the port still works normally.
By default, the loopback detection control feature is disabled on the trunk or hybrid port.
Note that this command is invalid for an access port.
Related command:
loopback-detection enable
.
Example
# Enable the loopback detection control feature on Ethernet1/0/1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet 1/0/1
[Quidway-Ethernet1/0/1] port link-type trunk
[Quidway-Ethernet1/0/1] loopback-detection control enable
[Quidway-Ethernet1/0/1]