Operation Manual – Port
Quidway S3100 Series Ethernet Switches Chapter 1
Basic Port Configuration
Huawei Technologies Proprietary
1-9
Operation Command Remarks
Configure the system
to run loopback
detection on all
VLANs for the trunk
and hybrid ports
loopback-detection
per-vlan enable
Optional
By default, the system runs
loopback detection only on
the default VLAN for the
trunk and hybrid ports.
Display port loopback
detection information
display
loopback-detection
Optional
You can use the command in
any view.
Caution:
z To enable loopback detection on a specific port, you must use the
loopback-detection enable command in both system view and the specific port
view.
z After you use the undo loopback-detection enable command in system view,
loopback detection will be disabled on all ports.
1.2.9 Configuring the Ethernet Port to Run Loopback Test
You can configure the Ethernet port to run loopback test to check if it operates normally.
The port running loopback test cannot forward data packets normally. The loopback
test terminates automatically after a specific period.
Table 1-11 Configure the Ethernet port to run loopback test
Operation Command Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Configure the Ethernet port to
run loopback test
loopback { external | internal } Optional
After you use the shutdown command on a port, the port cannot run loopback test. You
cannot use the speed, duplex, mdi and shutdown commands on the ports running
loopback test. Some ports do not support loopback test, and corresponding prompts
will be given when you perform loopback test on them.