B – Command Line Interface
Test Command
B-66
59021-05 A
Test Command
Tests ports using internal (SerDes level), external (SFP), and online loopback
tests. Internal and external tests require that the port be placed in diagnostic
mode. Refer to the
”Set Command” on page B-23
for information about changing
the port administrative state. While the test is running, the remaining ports on the
switch remain fully operational.
Authority
Admin
Syntax
test
port [port_number] [test_type]
cancel
status
Keywords
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. This is the default. The port must be in diagnostics mode
to perform this test.
external
Tests both the SerDes and SFP. The port must be in diagnostics mode to
perform this test, and a loopback plug must be installed in the SFP.
online
Tests one online port.
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.
Examples
To run an internal (SerDes) or external (SFP) port test, do the following:
1.
To start an admin session, enter the following command and press the Enter
key.
admin start
2.
Place the port in Diagnostics mode, enter the following command (x = port
number) and press the Enter key.
set port x state diagnostics
3.
Insert the loopback plug into the SFP on the selected port.
4.
Choose type of port loopback test to run:
■
To run an internal loopback test, enter the following:
test x internal
Summary of Contents for SANbox2-16 Fibre Channel
Page 1: ...S i m p l i f y 59021 05 A Page i SANbox2 16 Fibre Channel Switch Installation Guide ...
Page 18: ...1 Introduction Technical Support 1 10 59021 05 A Notes ...
Page 30: ...2 General Description Switch Management 2 12 59021 05 A Notes ...
Page 42: ...3 Planning Fabric Security 3 12 59021 05 A Notes ...
Page 82: ...6 Removal Replacement Fans 6 6 59021 05 A Notes ...