294 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–19.
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 69
describes the offline port test parameters.
Table 69
Offline port loopback types
Parameter
Description
internal
Exercises the internal port connections
external
Exercises the port and its transceiver. A transceiver with a loopback plug is
required for the port.
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 70
describes the port test parameters.
Table 70
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 8/20q
Page 14: ...14 About this guide ...
Page 20: ...20 Command line interface usage ...
Page 24: ...24 User account configuration ...
Page 38: ...38 Network configuration ...
Page 90: ...90 Connection security configuration ...
Page 100: ...100 Device security configuration ...
Page 104: ...104 RADIUS server configuration ...
Page 110: ...110 Event log configuration ...
Page 130: ...130 Simple Network Management Protocol configuration ...
Page 322: ...322 Command reference ...
Page 332: ...332 Index ...