User guide

Table Of Contents
Command Line Interface (CLI)
119Modular SAN Array 1000 User Guide
CLI Command Syntax
As previously mentioned, CLI commands are entered at the CLI prompt.
Commands are not case sensitive and must be typed out in full.
CLI command strings include the basic command plus specific command options,
some of which are mandatory and some of which are optional.
The CLI does not support line-continuation characters. If all characters of a
command do not fit on one line of the CLI, let them wrap around to the next line
on the screen. The maximum command length is 255 characters.
Example Command
ADD UNIT 0 DATA=“DISK101-DISK103” RAID_LEVEL=0
This example command has three portions—the basic command, plus two
command options.
Basic Command
add unit
The basic command includes a word or phrase used to instruct the controller.
Commands usually contain a verb with a noun. Every CLI command must begin
with a basic command.
Command Options
0
data=“disk101-disk103”
raid_level=0
An option is defined as words or phrases listed after the basic command that
supply necessary information to support the command.
Some CLI commands require these parameters. If parameters are required but are
not entered, the CLI command string is considered invalid. The syntax of the
parameter value is uniquely defined for each CLI command, but must be less than
20 alphanumeric characters.
Some CLI commands support options that modify the command, but are not
required. If a modifying option is available but not used, a default value will be
used.
230941-005_MSA1000_UG.book Page 119 Thursday, April 17, 2003 5:53 PM