7914appCLI1208.fm Draft Document for Review March 28, 2011 12:24 pm
538  IBM System Storage DS3500: Introduction and Implementation Guide
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
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.
Example 17-1   SMcli syntax
amazon:~ # SMcli -?
SMcli <DNS-network-name-or-IP-address>
        [<DNS-network-name-or-IP-address>]
        [-c "<command>;[<command2>;...]"]
        [-n <storage-array-name> | -w <WWID>]
        [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
SMcli <DNS-network-name-or-IP-address>
        [<DNS-network-name-or-IP-address>]
        [-f <scriptfile>]
        [-n <storage-array-name> | -w <WWID>]
        [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
SMcli {-n <storage-array-name> | -w <WWID>}
        [-c "<command>;[<command2>;...]"]
        [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
SMcli {-n <storage-array-name> | -w <WWID>}
        [-f <scriptfile>]
        [-o <outputfile>] [-p <password>] [-e] [-S] [-quick]
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>
        [<hostname or IP address1> [<hostname or IP address2>]]
        [-n <storage-array-name> | -w WWID | -h <hostName> | -r (direct_sa | 
host_sa)]}
Convention Definition
(a | b | c) Alternative (âaâ or âbâ or âcâ)
italicized-words A terminal that needs user input to fulfill a parameter (a response to a 
variable).
[ ... ] (square 
brackets)
Zero or one occurrence (square brackets are also used as a delimiter for some 
command parameters)
{ ... } (curly braces) Zero or more occurrences.
bold A terminal that needs a command parameter entered to start an action
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.