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.
Содержание 8/20q
Страница 14: ...14 About this guide ...
Страница 20: ...20 Command line interface usage ...
Страница 24: ...24 User account configuration ...
Страница 38: ...38 Network configuration ...
Страница 90: ...90 Connection security configuration ...
Страница 100: ...100 Device security configuration ...
Страница 104: ...104 RADIUS server configuration ...
Страница 110: ...110 Event log configuration ...
Страница 130: ...130 Simple Network Management Protocol configuration ...
Страница 322: ...322 Command reference ...
Страница 332: ...332 Index ...