beautypg.com

3 command reference, Basic syntax, Command syntax – HP StoreAll Storage User Manual

Page 16: Basic subcommands, Basic syntax command syntax basic subcommands

background image

3 Command reference

Basic syntax

Table 21 (page 16)

summarizes the differences in meaning of the different parentheses used in

individual command syntax statements.

Table 21 Basic command syntax

Description

Notations

Angle brackets enclosing a string indicate required user-supplied input.

<…>

The string between the brackets identifies the type of input needed. For example
indicates the user must input one of the subcommands, such as --discover, in this part of
the command line.

Square brackets enclosing a string or selection of strings separated by the pipe (|) symbol
indicate optional command line parameters.

[…]

Curly brackets enclosing a selection of two or more strings separated by the pipe (|) symbol
indicate a required choice to be input from one of the enumerated strings.

{…}

For example { on | off } means you must enter either the string on or off in this part of
the command line.

Command syntax

The hpsp_fmt command is invoked on the command line, followed by a subcommand with an
optional target and one or more optional command options:

hpsp_fmt [TARGET] [options(s)]

TARGET

can be one of the following:

server

storage

chassis

all

-c

NOTE:

all

is not applicable for a firmware update operation.

Basic subcommands

The following are basic subcommands you can use with the hpsp_fmt command on all platforms.
You can use either the abbreviated form of the command or the word form:

Table 22 Subcommands for all platforms

Description

Subcommand

Discover the active firmware version. (Default target: server (that is, if you run the FMT without
any target, the server category is assumed as the default target for -d or –discover)).

-d, or

--discover

Update the firmware of the specified component(s).

-f, or --flash

Get the recommended update action. (Default target: server (that is, if you run the FMT without
any target, the server category is assumed as the default target for -fr or –flashrec)).

-fr, or

--flashrec

List the supported components.

-lc, or

--listcomp

16

Command reference