Q-Logic QLA2342, SB2A-16B manual Test Command, Authority, Syntax, Keywords, admin start

Models: SB2A-16B QLA2342

1 214
Download 214 pages 29.47 Kb
Page 184
Image 184
Test Command

B – Command Line Interface

0

 

 

Test Command

 

 

 

 

 

 

 

 

Test Command

Tests ports using internal (SerDes level), external (transceiver), 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-31for information about changing the port administrative state. While the test is running, the remaining ports on the switch remain fully operational.

Authority

Admin session

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 transceiver. The port must be in diagnostics mode to perform this test, and a loopback plug must be installed in the transceiver.

online

Tests communications between the port and its device node or device loop. The port being tested must be online and connected to a remote device. The port passes if the test frame that was sent by the ASIC matches the frame that is received. This test does not disrupt communication on the 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 or external 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.Choose the type of port loopback test to run:

B-82

59021-09 A

Page 184
Image 184
Q-Logic QLA2342, SB2A-16B manual Test Command, Authority, Syntax, Keywords, admin start, set port x state diagnostics