5 – Non-interactive Commands
Command Summary
SN0054614-00 F 5-41
A
Where:
To list a specific virtual port on a physical HBA port, type:
# scli -vp (<HBA Instance> : <HBA WWPN>) list <vport wwpn>
To create a virtual port with an automatic WWPN, type:
# scli -vp (<HBA Instance> : <HBA WWPN>) create auto
To create a virtual port with a specific WWPN, type:
# scli -vp (<HBA Instance> : <HBA WWPN>) create <vport hex>
When prompted, enter two hexadecimal digits. The system checks these digits to
be sure they are unique and, if they are, puts them into byte 3 of the WWPN.
To delete all virtual ports on a physical HBA port, type:
# scli -vp (<HBA Instance> : <HBA WWPN>) delete all
To delete a particular virtual port on a physical HBA port, type:
# scli -vp (<HBA Instance> : <HBA WWPN>) delete <vport wwpn>
5.3.34
-x
(Output in XML Format 1)
You can use this option with all non-interactive mode options that have a
corresponding interactive mode option (see Table 5-1). 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. These formats are described in Appendix A. This
option is usually combined with the -o option (see section 5.3.23) to create a text
file with XML output so that it can be parsed by an XML-compliant utility. For
example to show HBA general information and output it to an XML file named
output.xml:
# scli -i all -x -o output.xml
HBA Instance = HBA number (use -g command to find)
HBA WWPN = World wide port name of the HBA
vport WWPN = World wide port name of the virtual port
vport hex = World wide port name of the virtual port with the two
hex digits in byte three supplied by the user
NOTE:
This option is valid only in non-interactive mode.