SANtricity 11.8 Commands ( CA08871-194 ~ 196 )
Downloadable SMcli command line parameters
11.60 and newer downloadable SMcli command line parameters
The SANtricity OS 11.60 release includes the ability to download and install the http-based version of CLI (also referred to as "Secure CLI" or SMcli) directly through the SANtricity System Manager. This downloadable version of the SMcli is available on HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, AB5100, AB3100 and AB2100 series controllers. To download the SMcli within the SANtricity System Manager, select Settings > System and Add-ons > Command Line Interface .
A Java Runtime Environment (JRE), version 8 and above, must be available on the management system where you plan to run the CLI commands. |
As with previous versions of the SMcli, the SMcli downloadable through the SANtricity System Manager has a unique set of parameters.
Multifactor authentication
If SAML (Security Assertion Markup Language) is enabled, only access tokens can be used with the CLI. If SAML is not enabled, the username/password or access tokens can be used. Access tokens can be generated through the SANtricity System Manager.
Parameter | Definition |
---|---|
|
Defines the access token to be used for authentication with a storage array. An access token is a replacement for supplying the username and password. |
|
This argument requires one of two arguments:
|
|
Follow this parameter with the |
|
Defines the password for the storage array on which you want to run commands. When using special characters in passwords, enclose the password in double quotation marks ("` `"). A password is not necessary under these conditions:
|
|
This argument requires one of two arguments:
|
General https mode command line parameters
The downloadable SMcli only supports https mode. The following are commonly used command line parameters for https mode.
Parameter | Definition | ||
---|---|---|---|
|
Specifies either the host name or the Internet Protocol (IP) address ( When managing out-of-band storage management through the Ethernet connection on each controller, you must specify the |
||
|
This optional argument allows an
|
||
|
Runs the commands without performing a syntax check first. |
||
|
Displays the legal notices for Downloadable SMcli. |
||
|
Specifies the locally stored label on which you want to run the script commands. This is optional when you use
|
||
|
Specifies a file name for all output text that is a result of running the script commands. Use the
If you do not specify an output file, the output text goes to standard output ( |
||
|
Suppresses informational messages describing the command progress that appear when you run script commands. (Suppressing informational messages is also called silent mode.) This parameter suppresses these messages:
|
||
|
Displays the downloadable SMcli version |
||
|
Shows usage information about the CLI commands. |
Managing stored arrays
The following command line parameters allow you to manage stored arrays through your locally stored label.
The locally stored label may not match the actual storage array name displayed under the SANtricity System Manager. |
Parameter | Definition | ||
---|---|---|---|
|
Displays all locally stored labels and their associated addresses |
||
|
Displays the addresses associated with the locally stored label named |
||
|
Deletes all locally stored labels |
||
|
Deletes the locally stored label named |
||
|
|
Parameter | Definition |
---|---|
|
Displays all trusted certificates stored locally |
|
Displays a locally stored trusted certificate with the alias |
|
Deletes all trusted certificates stored locally |
|
Deletes a locally stored trusted certificate with the alias |
|
|
|
|