General Smcli Syntax - IBM System Storage DS3500 Introduction And Implementation Manual

Table of Contents

Advertisement

7914appCLI1208.fm

17.3 General SMcli syntax

The following table lists the conventions used in the command statement syntax to manage
the storage subsystem
Table 17-1 Command Name Syntax Conventions
Convention
(a | b | c)
italicized-words
[ ... ] (square
brackets)
{ ... } (curly braces)
bold
You can either start SMcli from the client subdirectory, or add the directory to your path to
execute SMcli from any window.
To list the full SMcli syntax, run SMcli -?, as shown in Example 17-1.
Note: The PATH environment variable in Linux is modified during the installation of the
Storage Manager to allow the execution of CLI and the GUI from everywhere in the
system. On Microsoft Windows Systems, this is not the case.
Example 17-1 SMcli syntax
amazon:~ # SMcli -?
SMcli <DNS-network-name-or-IP-address>
SMcli <DNS-network-name-or-IP-address>
SMcli {-n <storage-array-name> | -w <WWID>}
SMcli {-n <storage-array-name> | -w <WWID>}
SMcli -d [-i] [-s] [-w] [-v] [-S]
SMcli -A [<DNS-network-name-or-IP-address1> [DNS-network-name-or-IP-address2]]
[-S]
SMcli -X (-n <storage-array-name> | -w <WWID> | -h <hostName>)
SMcli -m <ip address> -F <email address> [-g <contactInfoFile>] [-S]
SMcli -x email:<email address>
host_sa)]}
538
IBM System Storage DS3500: Introduction and Implementation Guide
Definition
Alternative ("a" or "b" or "c")
A terminal that needs user input to fulfill a parameter (a response to a
variable).
Zero or one occurrence (square brackets are also used as a delimiter for some
command parameters)
Zero or more occurrences.
A terminal that needs a command parameter entered to start an action
[<DNS-network-name-or-IP-address>]
[-c "<command>;[<command2>;...]"]
[-n <storage-array-name> | -w <WWID>]
[-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
[<DNS-network-name-or-IP-address>]
[-f <scriptfile>]
[-n <storage-array-name> | -w <WWID>]
[-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
[-c "<command>;[<command2>;...]"]
[-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
[-f <scriptfile>]
[-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
[<hostname or IP address1> [<hostname or IP address2>]]
[-n <storage-array-name> | -w WWID | -h <hostName> | -r (direct_sa |
Draft Document for Review March 28, 2011 12:24 pm

Advertisement

Table of Contents
loading

Table of Contents