Opening The Cli In Command Mode; Cli Syntax - NEC Express 5800 Series User Manual

Smart storage administrator
Hide thumbs Also See for Express 5800 Series:
Table of Contents

Advertisement

The remaining examples in the SSA CLI section of this guide are described as if entered in Console mode.

Opening the CLI in Command mode

To use Command mode, identify the appropriate SSA CLI command
the command to the end of the text line that is used for opening the CLI in Console mode.
The following examples use help as the command:
Using Microsoft Windows:
C:\Program Files\Smart Storage Administrator\ssacli\bin\ssacli.exe help
Using Linux:
[root@localhost root]# ssacli help
Using ESXi 6.x:
[root@localhost root]# /opt/smartstorageadmin/ssacli/bin/ssacli help
The remaining examples in the SSA CLI section of this guide are described as if entered in Console mode.

CLI syntax

Whether entered in Command mode or Console mode, a typical SSA CLI command line consists of three
parts: a target device, a command, and a parameter with values if necessary. Using angle brackets to denote
a required variable and plain brackets to denote an optional variable, the structure of a typical SSA CLI
command line is as follows:
<target> <command> [parameter=value]
The <target> variable
This variable provides the path to the device that you want to configure. The device can be a controller, an
array, a logical drive, or a physical drive. The syntax used is as follows:
controller all | slot=# | wwn=# | chassisname="AAA" | serialnumber=# | chassisserialnumber=# |
[array=all|<id>] [logicaldrive all|#] [physicaldrive all|allunassigned|[#:]#:#,[#:]#:#...|[#:]#:#-[#:]#:#]
For example:
controller slot=3
controller wwn=500805F3000BAC11
controller slot=2 array A
controller chassisname="A" array B logicaldrive 2
controller chassisname="A" physicaldrive 1:0
controller all
controller slot=2 array all
controller slot=3 physicaldrive 1:2-1:5
The <command> variable
The <command> variable can be any of the following words or phrases, corresponding to typical
configuration tasks:
add
create
delete
modify
remove
set target
Nonconfiguration commands are also available:
diag
("The <command>
variable"). Then, add
SSA CLI 40

Advertisement

Table of Contents
loading

Table of Contents