Q-Logic FC HBA CLI Network Card User Manual


 
5 – Non-interactive Commands
Command Summary
5-22 SN0054614-00 F
S
# scli --kl (<HBA Instance> | <HBA WWPN>)
To do a loopback test with custom parameters, type:
# scli --kl (<HBA Instance> | <HBA WWPN>) [(<Parameter Name> |
<Parameter Alias>) <Parameter Value>]
Section 5.3.16 describes the parameters and their default values.
The following examples do 500 loopback tests with a test increment of 10, a data
pattern of FFh, and a data size of 8 bytes. The test stops if an error occurs.
# scli -kl <HBA WWPN> DP FF DS 8 TC 500 TI 10 OE 1
# 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 in the following paragraphs.
Status – Test result. The possible values are:
Success – The test passed.