Basic cli syntax, Cli command example, Shortening commands – Dell Acceleration Appliances for Databases User Manual

Page 13: Commands unique to the cli

Advertising
background image

BASIC CLI SYNTAX

The basic syntax for the CLI commands is:

commandgroup:command --option1 <item> --option2 <item> ... arg1 arg2 ...

Some options require specified items – these are explained in the next section.

The Help and History commands use the syntax of

*:help

and

*:history

, respectively. They

are explained in detail in the next section.

For Fibre Channel, the UUIDs in commands represent WWPNs.

CLI Command Example

pool:create --pesize 512 mainpool fioa fiob fioc fiod fioe fiof fiog fioh

This creates a new storage pool called mainpool, from the device IDs specified, with a physical
extent size (

pesize

) of 512KB.

Shortening Commands

Using the format

commandgroup:command

you can omit the

commandgroup

part only when

the result is unique to the CLI. For example,

system:setup

can be shortened to

setup

and

config:verify

to

verify

, etc. However,

port:get

cannot be shortened to

get

because

there are other

get

commands (

pool:get

, etc.) that are used by the CLI.

When shortening list commands, use the plural form. For example,

pool:list

becomes

pools

.

Commands that Cannot Be Shortened

All CLI commands can be shortened to omit their

commandgroup

name, except the following:

• create

• delete

• get

• update

COMMANDS UNIQUE TO THE CLI

Although most CLI commands have GUI counterparts, there are some functions that are available
only via the CLI. These unique commands include:

• help

• history

13

Advertising