A

5Non-interactive Commands Command Summary

#scli -kr (<HBA Instance> <HBA WWPN>)

To exclude a device or devices on the selected HBA port, type:

#scli -kr (<HBA Instance><HBA WWPN>) [(-EX -EXCLUDE) <Target WWPN>] [(<Parameter Name> <Parameter Alias>) <Parameter Value>]

Sections 6.17.0.0.1 through 6.17.0.0.5 describe the parameters and their default values.

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-xxPort ID 02-0E-00

------------------

 

Test Configuration

 

------------------

: Random

Data Pattern

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>}] [(<Parameter Name> <Parameter Alias>) <Parameter Value>

SN0054614-00 F

5-25

Page 165
Image 165
Q-Logic FC HBA CLI manual An example of a successful read/write buffer test follows