14 – Command Reference
Test Switch
14-198 59263-01 A
S
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]
online
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 internal port and inter-port connections.
external
Exercises all internal port, transceiver, and inter-port connections. A
transceiver with a loopback plug is required for all ports.
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 internal port connections.
external
Exercises all port and transceiver connections. A transceiver with a
loopback plug is required for all ports.
online
Exercises port-to-device connections for all ports that are online. This test does
not disrupt communication on the ports.