Command Reference Guide
• An argument must directly follow the option or subcommand it is modifying and is required
on the command line, unless otherwise specified (for example: removealert –i
<alert_ID>).
• Multiple options and arguments on a command line are separated with a space.
• Specifiers follow options.
• User supplied input is identified by angled brackets (< >).
• Unless noted otherwise, valid character formats include alphanumeric characters, periods,
dashes, and underscores. In general, the following length limits are enforced by the HP 3PAR
OS CLI:
◦ virtual volume name ≤ 31 characters
◦ Thinly Provisioned Virtual Volume (TPVV) name ≤ 31 characters
◦ virtual copy names ≤ 31 characters
◦ logical disk name ≤ 31 characters
◦ host name ≤ 31 characters
◦ Common Provisioning Group (CPG) name ≤ 31 characters
◦ template name ≤ 31 characters
◦ domain name ≤ 31 characters
◦ snapshot name ≤ 31 characters
◦ user name ≤ 31 characters
◦ system name ≤ 31 characters
Glob-Style Pattern
Several of the commands in this reference allow a pattern to be specified to refine the output of
the commands. The patterns are used to match against a string. Strings are typically names such
as host or virtual volume names. For example, in the showhost host_name|pattern...
command, a pattern can be specified to refine the command output for a string of host names
matching the specified pattern.
The pattern specifier, as used in the CLI commands, is specified in the form of a glob-style pattern.
Glob-style matching in the CLI is implemented by Tcl. A glob-style pattern consists of the symbols
in the following table.
Explanation of ActionSymbol
Matches any sequence of characters in a string, including
a null string.
*
Matches any single character in a string.?
Matches any character in the set given by chars. A range
of chars can be specified using a dash (–). For example,
[a–z] represents all the ASCII characters from a through z.
[chars]
Matches the single character x.\x
12 CLI Command Syntax and Conventions