A – Command Line Interface Test Command

S

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:

„To run an internal loopback test, enter the following: test port x internal

„To run an external loopback test, enter the following command. A loopback plug must be installed for this test to pass.

test port x external

4.A series of test parameters are displayed on the screen. Press the Enter key to accept each default parameter value, or type a new value for each parameter and press the Enter key. The TestLength parameter is the number of frames sent, the FrameSize (256 byte maximum in some cases) parameter is the number of bytes in each frame, and the DataPattern parameter is the pattern in the payload.

5.After the test type has been chosen and the command executed, a message on the screen will appear detailing the test results.

6.After the test is run, put the port back into online state by entering the following command (x = port number) and pressing the Enter key.

set port x state online

7.To verify port is back online, enter the following command and press the Enter key. The contents of the AdminState field should display be “Online”.

show port x

A-124

59097-02 B

Page 304
Image 304
Q-Logic 5600 manual Cancels the online test in progress, Status