Learn About the Command Line Interface

Related Topics

The Command Line Interface (CLI) gives you direct access to the script engine from the command line shell of your operating system. The CLI provides an efficient way to edit, send, and execute storage management commands on multiple network storage subsystems. Although you can also access the script engine using the Enterprise Management Window, doing so only lets you edit or execute script commands on the storage subsystem that you have selected in the Enterprise Management Window instead of multiple storage subsystems.

Use the CLI to:

The CLI operates from the command line shell of your operating system and supports the following command line parameters:

Command Line Parameter

Allows you to...

<hostname>

Specify an IP address (xxx.xx.xx.xx) or hostname of a storage subsystem managed through the host-agent or directly- managed method.

-c

List the commands to performed on the specified storage subsystem. Each command must be terminated by a <;>.

-f

Specify a file name of script engine commands to be performed on the specified storage subsystem.

-n

Specify the storage subsystem name on which you want to perform the script commands.

  • This name is optional when a <hostname> is used, provided only one storage subsystem with that name exists at that location.
  • This name is required when the <hostname> is not used, provided the <StorageArrayname> is configured for use in the Enterprise Management Window and does not duplicate that of any other configured storage subsystem.

-o

Specify a file name for all output text from the script engine. If this parameter is not used, the output will go to stdout.

-p

Specify the password for the storage subsystem on which you want to perform a script. This is not necessary if the password is specified in the script.

-e

Execute the script only and without performing a syntax check first.

-d

Display the contents of the configuration file. The output will be formatted in the following manner: <SAname> <hostname> <hostname>.

-i

Display the IP Address (xxx.xxx.xxx.xxx) of the storage subsystem.

-?

Display usage information.

Related Topics

Using the Command Line Interface

Command Reference