5Non-interactive Commands Command Summary

S

5.3.7

-ei

(List SANsurfer FC HBA CLI Error Codes)

This command lists the SANsurfer FC HBA CLI error codes as shown in Appendix D.

5.3.8

-f

(Input Parameter Options from a Text File)

NOTE:

The -foption is valid only in non-interactive mode, and cannot be combined with any other options. Only one command line parameter per file is valid. This option is used when it is run as a script file.

To input parameter options to SANsurfer FC HBA CLI through a text file, type -f, followed by the file name. For example:

#scli -fcommand.txt

The text file must be formatted as follows:

„The file must contain a single line.

„The file must contain only parameters.

„The file cannot contain another -foption.

The following example shows how to set the connection option of a HBA to default (loop preferred, otherwise point-to-point) and the data rate to auto through a command file that is invoked by the -foption:

1.Create a text file (for example, sethba0.txt) and enter the following command in the text file:

-n 0 co 2 dr 2

2.Save and close the file.

3.Issue the scli command with the -foption (input from command file):

#scli -f sethba0.txt

#scli -f <File Name>

SANsurfer FC HBA CLI specifies command line input from file.

5-12

SN0054614-00 F

Page 152
Image 152
Q-Logic manual List SANsurfer FC HBA CLI Error Codes, Input Parameter Options from a Text File