HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
4 Running the InForm OS Command Line Interface
Introduction
After installing the CLI as described in “Installing the InForm OS Command Line Interface” (page 16)
and setting up a user account (as described in “Managing User Accounts and Connections”
(page 20)) a CLI connection requires the following information:
• System name or IP address
• User name
• Password
You are prompted as follows when running the CLI:
system:
user:
password:
The example above displays the simplest way to connect to the CLI.
In addition to the method described above, you can also:
• Use environment variables and global options to customize the CLI (“Global Options and
Environment Variables” (page 46)).
• Set up a secure connection using SSL. This is the system default.(“Using SSL” (page 49)).
• Issue stand-alone CLI commands from a shell prompt in Solaris or Linux, or from a Windows
command prompt (“Stand-alone Commands” (page 56)).
• Use SSH to encrypt all traffic between the client and server, including passwords (“SSH”
(page 56)).
Global Options and Environment Variables
Global options are provided to help configure the CLI and control the operation of the system.
Environment variables are provided to customize the CLI. The global CLI options and environment
variables are listed in Table 5 (page 47).
• You can use the global options with the CLI program and individual CLI commands.
• When used with the CLI program, global options remain in effect until you exit the Tcl shell
(refer to “Stand-alone Commands” (page 56) for information about the Tcl shell). The following
example displays the –sys option used with the CLI program for a system named
betasystem1:
$ cli –sys betasystem1
• When used with individual commands, global options are in effect only for that command.
The following example displays the –pwf option used with the showsysmgr CLI command:
$ showsysmgr –pwf ~/my–pwfile
• Global options, when used, override environment variables.
46 Running the InForm OS Command Line Interface