3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

3.19
Stand-alone Commands
InForm OS Version 2.2.4 3PAR InForm OS CLI Administrator’s Manual
3.3 Stand-alone Commands
There are two ways to issue CLI commands from a shell prompt in Solaris or from a Windows
command prompt:
CLI commands can be executed like typical UNIX and MS-DOS commands.
If the CLI commands are run as individual commands, you are prompted for your
username and password for each command. This can be avoided by setting your system
to read your username and password from a file. See 3.2.6 Setting Your Name and
Password on page 3.10 for more information.
If you are running the CLI commands as individual commands, you can put each
command in a script or pipe them to other commands. You can use the shell of your
choice for scripting or initiating interactive sessions that provide history and line editing
capabilities.
Enter cli at your DOS or Solaris prompt to run the cli script. Running this script places
you into an interactive Tcl shell where all CLI commands are available.
The Tcl shell connects to the system and remains connected until you exit from the shell.
While the Tcl shell is connected, you are not prompted for your username and password
for each command you issue.
The Tcl shell provides access to the Tcl language that allows you to write Tcl procedures
or source Tcl scripts that build on top of CLI commands.
3.4 SSH
The InServ storage system is provided with Secure Shell (SSH) protocol version 2 that enables
great flexibility in accessing the InForm CLI and provides an alternative to installing the remote
CLI client. SSH uses public-private key encryption algorithms to encrypt all traffic between the
client and server, including passwords.
NOTE: Help is available to display information about CLI commands. If you
started the CLI with the
cli command, you can obtain help by typing either help
or
clihelp. When you run individual CLI commands from a system's native shell,
use
clihelp.