HP StorageWorks Performance Control XP user guide (T1605-96007, October 2007)
Performance Control XP user guide 55
• []
Indicates one or more operands that can be omitted.
If two or more operands are enclosed by square brackets and are delimited by vertical bars (|), you
can select one of the operands. For detailed information, see Table 23.
• {}
Indicates you must select one operand from the operands enclosed by the braces. Two or more
operands are enclosed by the braces and are delimited by vertical bars (|). For detailed
information, see Table 23.
Indicates that a previously used operand can be repeated. For detailed information, see Table 23.
• Notes on writing script in the command file
Note the following when writing script in the command file:
• Ensure that only one subcommand is used on one line.
• Empty lines in any command file are ignored.
• Use a semicolon (;) to insert a comment in the command file. If you enter a semicolon on one line,
the remaining characters in that line are regarded as a comment.
Figure 25 Examples of comments
• Viewing the online Help for subcommands
You can display the online Help to view the syntax of subcommands when working at the command
prompt. To view the online Help, you must use the Export Tool’s help subcommand. For detailed
information, see
”The help subcommand” on page 74.
The svpip subcommand
Syntax
svpipΔ{ip-address|host-name}
Description
The svpip subcommand specifies the SVP’s IP address or host name.
Operands
ip-address
Table 23 Syntax descriptions
Syntax The syntax indicates that you can write the following script
connectΔip-address connect 123.01.22.33
destinationΔ[directory] • destination
• destination c:\temp
compressΔ[yes|no] • compress
• compress yes
• compress no
answerΔ{yes|no} • answer yes
• answer no
portsΔ[name][Δ...] • ports
• ports port-1
• ports port-1 port-2
;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; COMMAND FILE: command.txt ;;;;
;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
svpip 158.214.135.57 ; IP address of SVP
login expusr "passwd" ; Log onto SVP