Test command – HP M-series HA-Fabric Manager Software User Manual

Page 202

Advertising
background image

202 Command Line Interface

Test command

Description Tests ports using internal (SerDes level), external (transceiver), and online loopback tests. Internal

and external tests require that the port be placed in diagnostic mode. See the Set Port State
command for information about changing the port administrative state. While the test is running, the
remaining ports on the switch remain fully operational.

Authority Admin session

Syntax

test

port [port_number] [test_type]

cancel

status

Operands

port [port_number] [test_type]

Tests the port given by [port_number] using the test given by [test_type]. If you omit [test_type],
Internal is used. [test_type] can have the following values:

internal

Tests the SerDes for all port speeds independent of the capabilities of the transceiver. This is
the default. The port must be in diagnostics mode to perform this test. This test is valid for all
ports. External ports are 0 and 9; internal ports are numbered 1–8.

external

Tests both the SerDes and transceiver for all port speeds that are supported by the transceiver.
The port must be in diagnostics mode to perform this test, and a loopback plug must be
installed in the transceiver. This test is valid for external ports 0 and 9.

online

Tests communications between the port and its device node or device loop at the operating
port speed. The port being tested must be online and connected to a remote device. The port
passes if the test frame that was sent by the switch matches the frame that is received. This test
does not disrupt communication on the port. This test is valid for all ports. External ports are
numbered 0 and 9; internal ports are numbered 1–8.

cancel

Cancels the online test in progress.

status

Displays the status of a test in progress, or if there is no test in progress, the status of the test that
was executed last.

Advertising
This manual is related to the following products: