Q-Logic FC HBA CLI Network Card User Manual


 
5 – Non-interactive Commands
Command Summary
5-12 SN0054614-00 F
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)
To input parameter options to SANsurfer FC HBA CLI through a text file, type -f,
followed by the file name. For example:
# scli -f command.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 -f option.
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 -f option:
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 -f option (input from command file):
# scli -f sethba0.txt
# scli -f <File Name>
SANsurfer FC HBA CLI specifies command line input from file.
NOTE:
The -f option 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.