H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 19

10
To do…
Use the command…
Remarks
Enable global loopback detection loopback-detection enable
Required
Disabled by default.
Enable multi-port loopback
detection
loopback-detection
multi-port-mode enable
Optional
By default, multi-port loopback
detection is disabled, and the
device can only detect single-port
loopback.
Set the loopback detection interval
loopback-detection interval-time
time
Optional
30 seconds by default.
Enter Ethernet
interface view
or port group
view
Enter Ethernet
interface view
interface interface-type
interface-number
Use either command
To configure loopback detection
on one interface, enter Ethernet
interface view.
To configure loopback detection
on a group of Ethernet interfaces,
enter port group view.
Enter port
group view
port-group manual
port-group-name
Enable loopback detection on the
interface
loopback-detection enable
Required
Disabled by default.
Enable loopback detection control
on a trunk port or a hybrid port
loopback-detection control enable
Optional
Disabled by default.
Enable loopback detection in all
the VLANs on the trunk or hybrid
port
loopback-detection per-vlan
enable
Optional
By default, a trunk or hybrid port
performs loopback detection only
in its default VLAN.
Set the protective action to take on
the interface when a loop is
detected
loopback-detection action { block |
no-learning | semi-block |
shutdown }
Optional
With the shutdown keyword
specified, the looped port will be
automatically shut down and its
physical state changes to Loop
down. After the loop is removed,
use the undo shutdown command
on the port to recover its
forwarding capability.
NOTE:
•
To use loopback detection on an Ethernet interface, you must enable the function both globally and on
the interface.
•
To disable loopback detection on all interfaces, run the undo loopback-detection enable command in
system view.
•
To enable a hybrid or trunk port to take the administratively specified protective action, you must perform
the loopback-detection control enable command on the port.
•
When you change the link type of an Ethernet interface with the port link-type command, the switch
removes the protective action configured on the interface. For more information about the port link-type
command, see the
Layer 2 Command Reference.