H3C Loopback Detection Feature Manual
Release 2107
Chapter 1 Loopback Detection Configuration
1-2
z
If the loopback port auto-shutdown function is enabled on the port, the system will
shut down the port and send log messages to the terminal. After the loop is
removed, you need to use the
undo shutdown
command to bring up the port.
Note:
You cannot enable both the loopback port control function and the loopback port
auto-shutdown function on a port. If you do so, the function configured later will take
effect.
1.1.2 Configuring Loopback Detection for Ethernet Port(s)
Table 1-1
Configure loopback detection for Ethernet port(s)
Operation
Command
Remarks
Enter system view
system-view
—
Enable loopback
detection globally
loopback-detection
enable
Optional
By default, the global loopback
detection function is enabled if
the device boots with the default
configuration file (config.def); if
the device boots with null
configuration, this function is
disabled.
Enable loopback
detection on the
specified ports in
bulk
loopback-detection
interface-list enable
Optional
By default, the loopback
detection 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.
At present, you can configure the
loopback detection for ports in
bulk on the S3100-EI series
(except the S3100-EPON-EI
series) switches and the E126A
switch only. These switches are
all shipped with a default
configuration file (config.def).
Set the interval for
performing port
loopback detection
loopback-detection
interval-time time
Optional
The default is 30 seconds.
Enter Ethernet port
view
interface
interface-type
interface-number
—