HP 3PAR OS 3.1.3 Command Line Interface Reference

SYNTAX
See Section (page 11).
OPTIONS
This section lists the available options you can use in conjunction with the command for varied
results. Some options and their specifiers are required, as indicated in the syntax, whereas some
are provided to increase the level and functionality of your output.
SPECIFIERS
Specifies a suggested input required by the user.
RESTRICTIONS
This section includes any restrictions that must be followed in order to achieve maximum results.
EXAMPLES
This section lists sample output with results similar to what you should expect when running the
command and it’s available options.
NOTES
Any pertinent information about the command that might help increase understanding and reliability
is often provided in the Notes section.
Global Options and Environment Variables
Several options and environment variables are available at the global level. For complete information
about these, refer to the HP 3PAR OS CLI Administrator’s Manual.
Exit Status
Except where noted, the following codes are returned indicating success or failure for each individual
command:
0 indicates that the command was successful.
1 indicates that the command failed.
10 indicates that the command is failed but it can be retried again.
Exit status 10 is only returned when -enherror option or TPDCLIENHERROR environment
variable is used. See the cli” (page 73) command.
Note that these exit status codes only indicate the execution status of the command itself. The results
of individual CLI commands should be determined from the command output. For example, if you
issue the addsnmpmgr command with an invalid IP address, the command output returns Invalid
IP address and an SNMP manager is not added; however, the exit status is 0 (successful)
because the command itself was successfully executed, even though the intended result of the
command (adding an SNMP manager) was not achieved.
Global Options and Environment Variables 17