Using The Command Line Interface
A CLI command consists of the following elements:
•
Executable name — secli
•
Command
•
Path to the target
•
Additional arguments
The following syntax is the general form of a CLI command:
secli command [path-to-target-object] {additional-arguments}
Where,
secli — invokes the command-line interface.
command — is the action the utility executes.
path-to-target-object — is the list of arguments that defines the target object command applies to.
Command Syntax Structure
The commands for the Storage Enclosure CLI have a number of required and optional input parameters.
Those parameters in turn can also have more than one valid value. However, each parameter can only
accept one valid value per command execution. This section outlines the symbols used in the syntax of
each command in this document and the syntax layout in the secli help.
Input Parameter
Description
a|b
Pipe symbol indicating alternative ("a" or "b")
italicized-words
Input value
[...]
optional input
<>
Enclosed input value is required for parameter
Parameter Glossary
Table 1. Parameter List
Parameter
Description
Name
-a
Represents target adapter
-d
Represents target drive
-w
Represents target enclosure
drawer
Valid Values
SAS address or Adapter Index
WWN (worldwide name), Enclosure Slot Index, or Drawer
Slot Index
Drawer Index (0, 1, 2, 3, or 4)
13