￿

A – Command Line Interface

Test Command

 

 

 

 

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

The online loopback (node-to-node) test can test only one port at a time, and that port must be online and connected to a remote device. To run the online loopback test, do the following:

1.To start an Admin session, enter the following command and press the Enter key.

admin start

2.To run the online loopback test, enter the following command and press the Enter key.

test x online

3.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. Before running the test, make sure that the device attached to the port can handle the test parameters.

SANbox2N107 (admin) #> test x online

A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key to accept the default value. If you wish to terminate this process before reaching the end of the list press ’q’ or ’Q’ and the ENTER key to do so.

TestLength

(decimal value, 1-4294967295)

[100

]

FrameSize

(decimal value, 36-2148)

[256

]

DataPattern

(32-bit hex value or ’Default’)

[Default]

StopOnError

(True/False)

[False

]

Do you want to start the test? (y/n) [n]

4.After all parameter values are defined, press the Y key to start the test.

59022-03 D

A-57

Page 147
Image 147
Q-Logic 59022-03 D manual Set port x state online