Q-Logic FC Network Card User Manual


 
4–Non-Interactive Commands
Command Summary
4-26 SN0054614-00 K
# scli -kl <hba instance> DP FF DS 8 TC 500 TI 10 OE 1
You do not have to set each parameter for the loopback test. If you do not specify
a parameter in the command line, the current parameter value is used. For
example, the following command sets the data pattern to FFh and uses the
current values for the other parameters:
# scli -kl <hba instance> DP FF
The following example sets the data size to 16 bytes and has the test loop if an
error occurs. The other parameters use the current values:
# scli -kl <hba wwpn> DS 16 OE 2
An example of a successful loopback test follows:
------------------
Test Configuration
------------------
Data Pattern = Random
Data Size (Bytes) = 512
Number of test(s) (0-65535) = N/A
Test Increment (1-65535) = 125
On Error = Ignore
Test Continuous = ON
------------------------------------------------------------------------------
Diagnostics - Loopback Test Result
----------------------------------
Note: Press <Enter> to stop the test any time
---------------------------------------------
HBA Test Data Pattern Status CRC Disparity FrameLength Active
------------------------------------------------------------------------------
0 B1-3B-6A-A5-11-28-C1-8C Success 0 0 0 /
The test results are described as follows:
Status—Test result. The possible values are:
Success—The test passed.
Error—CRC, disparity, or frame length errors occurred.
Failed—An error occurred when attempting to issue a command.
Loop down—The loop is down.
CRC—Number of CRC errors.
Disparity—Number of disparity errors.
FrameLength—Number of frame length errors.