4–Non-Interactive Commands
Command Summary
4-14 SN0054614-00 K
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 an adapter 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, setadapter0.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 setadapter0.txt
# scli -f <file name>
SANsurfer FC/CNA HBA CLI specifies command line input from file.
-fcoe
(Display and Configure FCoE Engine Parameters)
Use the -fcoe commands to view and modify the FCoE engine for QLE8042 and
Cisco Unified Computing System (UCS) converged network adapters.
Display Commands
To show the current FCoE engine firmware version, issue the following command:
# scli -fcoe ( <hba instance> | <hba wwpn> ) --info
To show the FCoE engine parameters, issue the following command:
# scli -fcoe ( <hba instance> | <hba wwpn> ) --getparam --port0
To show the FCoE engine parameters of port 1, issue the following command:
# scli -fcoe ( <hba instance> | <hba wwpn> ) --getparam --port1
Configuration Commands
To modify the current FCoE engine parameters, issue the following command:
# scli -fcoe ( <hba instance> | <hba wwpn> ) --setparam --port0
( { <param name> | <param alias> ) <param value> }
To modify the FCoE engine parameters of port 1, issue the following command:
# scli -fcoe ( <hba instance> | <hba wwpn> ) --setparam --port1
( { <param name> | <param alias> ) <param value> }