4–Non-Interactive Commands
Command Summary
4-48
SN0054614-00 K
#
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 1 of the WWPN.
To delete all virtual ports on a physical adapter port, type:
#
scli -vp (<
hba instance
> : <
hba wwpn
>) delete all
To delete a specific virtual port on a physical adapter port, type:
#
scli -vp (<
hba instance
> : <
hba wwpn
>) delete <
vport wwpn
>
-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 4-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
“-o (Output to a File)” on
page 4-37
) 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
:
#
scli -i all -x -o
output.xml
-x2
(Output in XML Format 2)
NOTE:
This option is valid only in non-interactive mode.
NOTE:
This option is valid only in non-interactive mode.
Содержание SANsurfer FC/CNA HBA CLI
Страница 174: ...3 Interactive Commands Help Menu Command Line Option h 3 122 SN0054614 00 K Notes ...
Страница 224: ...4 Non Interactive Commands Command Summary 4 50 SN0054614 00 K Notes ...
Страница 256: ...A XML Format 1 XML Format 1 Tags for Each Option A 32 SN0054614 00 K Notes ...
Страница 292: ...B XML Format 2 XML Format 2 Tags for Each Option B 36 SN0054614 00 K Notes ...
Страница 322: ...D Help Commands D 10 SN0054614 00 K Notes ...