290 Command Reference
test port
Description
Tests individual ports using an offline or online test.
Authority
Admin session
Syntax
test port [port_number]
offline [loopback_type]
online
Operands
[port_number]
The port to be tested. [port_number] can be 0–23.
offline [loopback_type]
Performs an offline test of the type given by [loopback_type] on the port given by [port_number].
Use the
set port
command to place the port in the diagnostics state before running the test.
Table 68
describes the offline port test parameters.
Table 68
Offline port loopback types
Parameter
Description
internal
Exercises the internal port connections.
NOTE:
An internal test on an XPAK port verifies that a complete path
exists, but does not send a test frame.
external
Exercises the port and its transceiver. A transceiver with a loopback plug is
required for the port.
NOTE:
An external test on an XPAK port verifies that a complete path
exists, but does not send a test frame.
online
Exercises the port, transceiver, and device connections while the port is online. Online testing of
TR_Ports is not allowed. This test does not disrupt communication on the port.
Notes
To cancel a port test that is in progress, enter the
test cancel port
command.
To display the status of the most recent port test or port test in progress, enter the
test status
port
command.
Table 69
describes the port test parameters.
Table 69
Port test parameters
Parameter
Description
LoopCount
Number of frames sent:
1
–
4294967295
. The default is
100
.
FrameSize
Number of bytes in each test frame:
40
–
2148
. The default is
256
.
DataPattern
32-bit hexadecimal test value, or
default
, which defines random data
StopOnError
Stops the test when an error occurs (
True
). Otherwise, the test continues to
completion.
LoopForever
Restarts the test after completion and continues until you cancel it (
True
).
Otherwise, the test ends normally after completion.
Summary of Contents for StorageWorks SN6000
Page 16: ...16 Command Line Interface Usage ...
Page 20: ...20 User Account Configuration ...
Page 34: ...34 Network Configuration ...
Page 82: ...82 Zoning Configuration ...
Page 86: ...86 Connection Security Configuration ...
Page 96: ...96 Device Security Configuration ...
Page 100: ...100 RADIUS Server Configuration ...
Page 124: ...124 Simple Network Management Protocol Configuration ...
Page 318: ...318 Command Reference ...
Page 330: ...330 Index ...