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.
Содержание InfiniteStorage 4000 Series
Страница 34: ...22 ExitStatus ...
Страница 48: ...36 Adding Comments to a Script File ...
Страница 110: ...98 Starting Stopping and Resuming a Snapshot Legacy Rollback ...
Страница 168: ...156 Interaction with Other Premium Features ...
Страница 182: ...170 Interaction with Other Premium Features ...
Страница 192: ...180 SSD Cache Management Tasks ...
Страница 216: ...204 RecoveryOperations ...
Страница 218: ...206 Show Storage Array ...
Страница 219: ...Appendix A Examples of Information Returned by the Show Commands 207 ...
Страница 220: ...208 Show Storage Array ...
Страница 221: ...Appendix A Examples of Information Returned by the Show Commands 209 ...
Страница 222: ...210 Show Storage Array ...
Страница 223: ...Appendix A Examples of Information Returned by the Show Commands 211 ...
Страница 224: ...212 Show Storage Array ...
Страница 225: ...Appendix A Examples of Information Returned by the Show Commands 213 ...
Страница 226: ...214 Show Storage Array ...
Страница 227: ...Appendix A Examples of Information Returned by the Show Commands 215 ...
Страница 228: ...216 Show Storage Array ...
Страница 229: ...Appendix A Examples of Information Returned by the Show Commands 217 ...
Страница 230: ...218 Show Storage Array ...
Страница 231: ...Appendix A Examples of Information Returned by the Show Commands 219 ...
Страница 233: ...Appendix A Examples of Information Returned by the Show Commands 221 ...
Страница 234: ...222 Show Controller NVSRAM ...
Страница 252: ...240 ShowDrive Show Drive The show drive command returns information about the drives in a storage array ...
Страница 253: ...Appendix A Examples of Information Returned by the Show Commands 241 ...
Страница 254: ...242 ShowDrive ...
Страница 255: ...Appendix A Examples of Information Returned by the Show Commands 243 ...
Страница 256: ...244 ShowDrive ...
Страница 257: ...Appendix A Examples of Information Returned by the Show Commands 245 ...
Страница 258: ...246 ShowDrive ...
Страница 268: ...256 ConfigurationUtility ...
Страница 275: ......
Страница 276: ...Copyright 2012 NetApp Inc All rights reserved ...