Chapter 17. Command-Line Interface(CLI)
535
Draft Document for Review March 28, 2011 12:24 pm
7914appCLI1208.fm
17.1 How to Use the Command Line Interface
The commands that you run on the CLI provide access to the script engine, specify the
storage subsystem to receive the script commands, and set operation environment
parameters.
A CLI command consists of these elements:
The term SMcli
The storage subsystem identifier
Parameters
Script commands
A CLI command takes this form:
SMcli storageSubsystem parameters script-commands;
SMcli invokes the command line interface.
storageSubsystem is the name or the IP address of the storage subsystem.
parameters are CLI parameters that define the environment and the purpose for the
command.
script-commands are one or more script commands or the name of a script file that
contains script commands. (The script commands are the storage subsystem
configuration commands.)
17.1.1 Usage Notes
If you enter SMcli and a storage subsystem name but do not specify CLI parameters, script
commands, or a script file, the command line interface runs in interactive mode. Interactive
mode lets you run individual commands without prefixing the commands with SMcli. In
interactive mode, you can enter a single command, view the results, and enter the next
command without typing the complete SMcli string. Interactive mode is useful for determining
configuration errors and quickly testing configuration changes.
To end an interactive mode session, type the termination command (Control-C) while in
interactive mode turns off interactive mode and returns operation of the command prompt to
an input mode that requires you to type the complete SMcli string.
If you enter an incomplete or inaccurate SMcli string that does not have the correct syntax,
parameter names, options, or terminals, the script engine returns usage information.
Summary of Contents for DS3500
Page 2: ......
Page 5: ...iii Draft Document for Review March 28 2011 12 24 pm 7914edno fm ...
Page 789: ......