
2
Structure of a CLI Command
Show the alert notification settings for storage arrays that are currently
configured in the Enterprise Management Window.
Direct the output to a standard command line display or to a named file.
Structure of a
CLI Command
The CLI commands are in the form of a command wrapper and elements embedded
into the wrapper. A CLI command consists of these elements:
A command wrapper identified by the term
SMcli
The storage array identifier
Terminals that define the operation to be performed
Script commands
The CLI command wrapper is a shell that identifies storage array controllers, embeds
operational terminals, embeds script commands, and passes these values to the script
engine.
All CLI commands have the following structure:
SMcli
storageArray terminal script-commands
;
SMcli
invokes the command line interface.
storageArray
is the name or the IP address of the storage array.
terminal
a CLI value that defines 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 configure and manage
the storage array.)
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.
For an overview of the script commands, see "
." For
definitions, syntax, and parameters for the script commands, refer to the
Command
Line Interface and Script Commands
.
Interactive Mode
If you enter
SMcli
and a storage array 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.
Summary of Contents for InfiniteStorage 4000 Series
Page 34: ...22 ExitStatus ...
Page 48: ...36 Adding Comments to a Script File ...
Page 110: ...98 Starting Stopping and Resuming a Snapshot Legacy Rollback ...
Page 168: ...156 Interaction with Other Premium Features ...
Page 182: ...170 Interaction with Other Premium Features ...
Page 192: ...180 SSD Cache Management Tasks ...
Page 216: ...204 RecoveryOperations ...
Page 218: ...206 Show Storage Array ...
Page 219: ...Appendix A Examples of Information Returned by the Show Commands 207 ...
Page 220: ...208 Show Storage Array ...
Page 221: ...Appendix A Examples of Information Returned by the Show Commands 209 ...
Page 222: ...210 Show Storage Array ...
Page 223: ...Appendix A Examples of Information Returned by the Show Commands 211 ...
Page 224: ...212 Show Storage Array ...
Page 225: ...Appendix A Examples of Information Returned by the Show Commands 213 ...
Page 226: ...214 Show Storage Array ...
Page 227: ...Appendix A Examples of Information Returned by the Show Commands 215 ...
Page 228: ...216 Show Storage Array ...
Page 229: ...Appendix A Examples of Information Returned by the Show Commands 217 ...
Page 230: ...218 Show Storage Array ...
Page 231: ...Appendix A Examples of Information Returned by the Show Commands 219 ...
Page 233: ...Appendix A Examples of Information Returned by the Show Commands 221 ...
Page 234: ...222 Show Controller NVSRAM ...
Page 253: ...Appendix A Examples of Information Returned by the Show Commands 241 ...
Page 254: ...242 ShowDrive ...
Page 255: ...Appendix A Examples of Information Returned by the Show Commands 243 ...
Page 256: ...244 ShowDrive ...
Page 257: ...Appendix A Examples of Information Returned by the Show Commands 245 ...
Page 258: ...246 ShowDrive ...
Page 268: ...256 ConfigurationUtility ...
Page 275: ......
Page 276: ...Copyright 2012 NetApp Inc All rights reserved ...