Command line overview, Command line syntax, Parameters – HP Virtual Connect 8Gb 24-port Fibre Channel Module for c-Class BladeSystem User Manual

Page 8

Advertising
background image

Introduction 8

Multi-enclosure double-dense domains require similar and compatible VC-FC modules in bays 5, 6, 7, and

8 in all enclosures if FC connectivity is required. If a multi-enclosure double-dense configuration contains
incompatible VC-FC modules in bays 5, 6, 7, or 8 in the local or remote enclosures, some or all of the

compatible VC-FC modules in the remote enclosures might be designated INCOMPATIBLE after import.

Command line overview

The VCM Command Line Interface can be used as an alternative method for administering the VCM. Using
the CLI can be useful in the following scenarios:

You can develop tools that utilize VCM functions for data collection and for executing provisioning and
configuration tasks.

When no browser is available or you prefer to use a command line interface, you can access
management data and perform configuration tasks.

You can batch commands using script files. These script files can be run manually or scheduled to run
automatically.

Command line syntax

CLI input is case-insensitive, except when otherwise noted. The general CLI syntax format is as follows:

<subcommand> <managed element> <parameters> [<options>] [<properties>]

Item

Description

subcommand

Operation performed on a managed element

managed element

Target management entity

parameters

Command extensions for a particular management operation

options

Attributes used to customize or control command execution behavior such as output
format, quiet-mode, and others

properties

One or more name and value pairs that are accessories to the command operation,

mainly for set and add operations

Example: ->add user mark password=asdf89g fullname="Mark Smith" enabled=true
In the example, add is the subcommand, user is the managed element, mark is a required parameter for

the operation, password is a required property, and fullname and enabled are optional properties.
Depending on the specific command being executed, certain parameters or properties might be required.

For example, when adding a new user, both a parameter representing the user name, as well as a password

(in the form of a property) must be specified. All other user properties are optional at the time the user is
added. In general, the properties are in the format name=value. Separate multiple properties with spaces.

Parameters

Parameters are command extensions that provide extra information needed for the execution of a particular

command. Whether or not a parameter is required depends on the specific command being executed. For
example, the show user command has an optional parameter, which represents the user name if the user

instance is being managed. If show user is entered without the optional parameter, then a summary listing

of all users is shown. However, if the optional parameter (user name) is provided, only a single user instance
is displayed, for example, show user paul.

Advertising