H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Command Reference
Test Switch
300 59272-00 C
Test Switch
Tests all ports on the switch using a connectivity test, an offline test, or an online
test.
Authority Admin session
Syntax test switch
connectivity [loopback_type]
offline [loopback_type]
Keywords connectivity [loopback_type]
Performs a connectivity test of the type given by [loopback_type] on all switch
ports. You must place the switch in the diagnostics state using the
Set Switch State command before starting the test. [loopback_type] can be one of
the following:
internal
Exercises all connections within the port and inter-port connections.
external
Exercises all external ports, their transceivers, and inter-port connections. A
transceiver with a loopback plug is required for each port.
offline [loopback_type]
Performs an offline test of the type given by [loopback_type] on all switch ports.
You must place the switch in the diagnostics state using the Set Switch State
command before starting the test. [loopback_type] can have the following values:
internal
Exercises all connections within each port.
external
Exercises all external ports, their transceivers, and inter-port connections. A
transceiver with a loopback plug is required for each port.










