Download Print this page

Command Grammar And Syntax; Command Instruction Grammar; Instruction Entry Syntax - HP StoreOnce B6000 Series Reference Manual

Hp b6000 storeonce backup system cli reference guide
Hide thumbs Also See for StoreOnce B6000 Series:

Advertisement

2 Command Grammar and Syntax

Command Instruction Grammar

A StoreOnce appliance is controlled by operations. An operation is one or more of the following
events:
providing configuration information to the appliance
requesting an action
obtaining information about the appliance and conveying that information to the user
The execution of operations is initiated by instructions. An instruction entry consists of three parts:
the command sequence, the object identification, and the parameter definition. An instruction entry
is constructed of elements. An element is a sequence of characters surrounded by white space;
elements are case insensitive. Elements can be one of three types: commands, objects or parameters.
An instruction is defined by a series of command elements. Typically, command elements are
selected to represent groups of related operations, actions, or subjects of the action. A series of
up to four command elements is a command sequence. A command sequence is unique and there
is a defined syntax for every command sequence. The syntax might include objects and parameters.
If included, the definition of the objects and parameters will further refine the operation represented
by the command sequence.
An object represents an item associated with a StoreOnce appliance. It may be a physical item,
such as a network interface, or a virtual item, such as a virtual tape cartridge. Typically, when an
object is created, its label is automatically generated. For example, the first virtual tape library
cartridge created would be automatically labeled "CART1." CART1 would be the object representing
this newly created virtual cartridge. Some objects, such are accounts, are labeled by the user. See
"Objects" (page 10)
Parameters define additional conditions placed upon the operation. A parameter consists of a
word (or a series of words separated by dashes) followed by a colon. The characters after the
colon define the value of the parameter.
Under some conditions, more than one object item or more than one value for a given parameter
may be included in an instruction entry.
Typically, command sequences define an operation. When included, objects define the item
associated with the operation. Parameters, when included, further refine how the operation will
be performed.
A Common CLI entry is interpreted by determining the command sequence and obtaining the
associated syntax. This syntax is used to interpret any additional objects or parameters included
in the instruction.

Instruction Entry Syntax

The Instruction entry consists of three parts:
the command sequence
object identification
parameter values
for details.
Command Instruction Grammar
7

Advertisement

loading