McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)
216
Test Port command
Description Tests external ports using an offline or online test.
Authority Admin session
Syntax
test port [port_number]
external
internal
online
Operands
[port_number]
The external port to be tested. [port_number] can be 0 or 9.
external
Performs a test of the port and its transceiver while the port is in the diagnostic state. A transceiver
with a loopback plug is required for the port. Use the Set Port command to place the port in
the diagnostics state before running the test.
internal
Performs a test of the internal port connections while the port is in the diagnostic state. Use the
Set Port command to place the port in the diagnostics state before running the test.
online
Performs a test of the port, transceiver, and device connections while the port is online. This test
does not disrupt communication on the port.
Notes To cancel a port test that is in progress, enter the Test Cancel command.
To display the status of the most recent port test or port test in progress, enter the Test Status
command.
Table 34 describes the port test parameters.
Table 34 Port test parameters
Parameter Description
LoopCount Number of frames sent
FrameSize Number of bytes in each test frame
DataPattern Pattern in the payload
StopOnError Stops the test when an error occurs (True). Otherwise, the test continues to
completion (False).
LoopForever Restarts the test after completion and continues until you cancel it (True).
Otherwise, the test ends normally after completion (False).