Command formatting rules – Dell PowerVault MD3000 User Manual

Page 106

Advertising
background image

106

Script Commands

Command Formatting Rules

This section describes the general rules for formatting a script command and
how the command syntax is presented in the following command
descriptions. Syntax unique to a specific command is explained in the notes
at the end of each command description.

The script commands are not case sensitive. Type the commands in
lowercase, uppercase, or mixed case. (In the following command
descriptions, mixed case is used as an aid to reading the command names
and understanding the purpose of the command.)

You must enter spaces in the commands as they are shown in the
command descriptions.

Brackets are used in two ways:

As part of the command syntax

To indicate which parameters are optional

The description of each parameter tells you when you must put
brackets around a parameter value.

Parentheses shown in the command syntax enclose specific choices for a
parameter. That is, if you want to use the parameter, you must use one of
the values shown in the parentheses. Generally, you do not include
parentheses in a command. In some instances, however, you must put
parentheses around a list. For example, you must put parentheses around a
list of enclosure ID values and slot ID values. The description of each
parameter tells you if you must put parentheses around a parameter value.

Vertical bars in a command indicate

or and separate the valid entries for

the parameter. For example, the syntax for the raidLevel parameter in the
command description appears as follows:

raidLevel=(0 | 1 | 5)

To use the raidLevel parameter to set a RAID level of 5, enter:

raidLevel=5

Advertising