beautypg.com

Using the command line interface, Cli shorthand method – HP VMA-series Memory Arrays User Manual

Page 142

background image

142

HP VMA SAN Gateway User’s Guide

AM456-9026A

Using the Command Line Interface

The CLI can be used to perform the functions provided in the HP VMA Web Interface, as well as

other functions that are not available in the HP VMA Web Interface. Depending on the user’s

current access mode (described in

Command Modes

on page 145), a subset of CLI commands is

available for configuring, managing, and viewing information about the HP VMA SAN Gateway.

Note:

This guide only documents commands that are needed for the HP VMA SAN Gateway, along

with some general-purpose commands. See

Quick Reference to Commands

on page 206. For

commands specific to the HP VMA-series Memory Array, see the

HP VMA-series Memory Array

Installation and Service Guide

.

CLI Shorthand Method

Commands can be expressed in shorthand form in the CLI. Each keyword can be abbreviated by

omitting its final letters, as long as the remaining letters are unique within the CLI command set.

For example, the commands to display the system date and time or the hostname can be abbreviated

as:

Additional letters can be included but none can be skipped; for example, the

show clock

command can be typed as

sho clo

or

sh clock

or various other combinations, but not

shw clk

.

Other commands that are frequently typed in shorthand include:

If the command is shortened too much, an error message appears and help is offered. For example,

the abbreviation

sh cl

could mean

show clock

or

show cluster

so it generates this error

message:

sh clo

show clock

sh h

show hosts

en enable

conf t

configure terminal

ex exit

> sh cl

% Ambiguous command "cl".

Type "sh cl?" for help.

This manual is related to the following products: