Users Guide

Table Of Contents
5–Fibre Channel Noninteractive Commands
-x (XML Output [Legacy])
Doc. No. TD-000947 Rev. 1
Janurary 29, 2021 Page 96 Copyright © 2021 Marvell
-x (XML Output [Legacy])
You can use the -x option with all noninteractive mode options that have a
corresponding interactive mode option (see Table 5-1 on page 26). This option
must be the first or last command in the command line.
When you use this option, the system shows all result and status messages in
XML format 1, a legacy format. This option is usually combined with the -o
option (see “-o (Redirect Standard Output To a File)” on page 73) to create a text
file with XML output so that it can be parsed by an XML-compliant utility. For
example to show adapter general information and output it to an XML file named
output.xml:
qaucli -pr fc -i all -x -o output.xml
-x2 (XML Output)
You can use the -x2 option with all noninteractive mode options that have a
corresponding interactive mode option (see Table 5-1 on page 26). This option
must be the first or last command in the command line.
When you use this option, the system shows all result and status messages in
XML format 2, the standard XML format. This option is usually combined with the
-o option (see “-o (Redirect Standard Output To a File)” on page 73) to create a
text file with XML output so that it can be parsed by an XML-compliant utility. For
example, to show adapter general information and output it to an XML file named
output.xml:
qaucli -pr fc -i all -x2 -o output.xml
-z (All Information)
To show all information for one specific adapter or for all adapters in the system,
issue the -z command as follows:
qaucli -pr fc -z <hba instance>|<hba wwpn>|all
“Host Configuration (Command Line Option -z)” on page 25 covers this command.
NOTE
The -x option is valid only in noninteractive mode.
NOTE
The -x2 option is valid only in noninteractive mode.