4–Non-Interactive Commands
Command Summary
SN0054614-00 K 4-29
To do a read/write buffer test using the current parameters, type:
# scli -kr (<hba instance> | <hba wwpn>)
To exclude a device or devices on the selected adapter port, type:
# scli -kr (<hba instance>|<hba wwpn>) [(-EX | -EXCLUDE)
<target wwpn>] [(<param name>|<param alias>) <param value>]
The following examples do 500 read/write buffer 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 -kr <hba instance> DP FF DS 8 TC 500 TI 10 OE 1
# scli -kr <hba wwpn> DP FF DS 8 TC 500 TI 10 OE 1
You do not have to set each parameter for the read/write buffer 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 -kr <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 -kr <hba wwpn> DS 16 OE 2
An example of a successful read/write buffer test follows:
HBA 1: QEM2462 Port 1 WWPN xx-xx-xx-xx-xx-xx-xx-xx Port ID 02-0E-00
------------------
Test Configuration
------------------
Data Pattern : Random
Data Size (Bytes) : 512
Number of test(s) (0-65535) : 500
Test Increment (1-65535) : 1
On Error : Ignore
Test Continuous : OFF
------------------------------------------------------------------------------
Diagnostics - Loopback Test Result
---------------------------------------------
Note: Press <Enter> to stop the test any time
---------------------------------------------
HBA Test Data Pattern Status CRC Disparity FrameLength Active
------------------------------------------------------------------------------
1 B4-31-0E-AA-AD-CF-D5-B0 Success 0 0 0 \
-kr (<hba instance> | <hba wwpn>) [{(-EX | -EXCLUDE) <target wwpn>}] [(<param
name>| <param alias>) <param value>