Users Guide

Table Of Contents
5–Fibre Channel Noninteractive Commands
-ei
Doc. No. TD-000947 Rev. 1
Janurary 29, 2021 Page 43 Copyright © 2021 Marvell
-ei
To view error and exit code information for noninteractive mode, issue the -ei
command as follows:
qaucli -pr fc -ei
-f
To input parameter options to QConvergeConsole CLI through a text file, type -f,
followed by the file name. For example:
qaucli -pr fc -f <text file name>
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 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) containing the
following command:
-n 0 co 2 dr 2
2. Save and close the file.
3. Issue the qaucli -pr fc command with the -f option as follows:
qaucli -pr fc -f setadapter0.txt
4. QConvergeConsole CLI executes the command in file setadapter0.txt,
which is equivalent to having issued the following command:
qaucli -pr fc -n 0 co 2 dr 2
NOTE
Exit codes are also listed in the fcscli-exitcodes.txt file located
here:
C:\Program Files\QLogic Corporation\QConvergeConsoleCLI
NOTE
The -f option is valid only in noninteractive 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.