12 cli command set, Commands, Conventions – HP 12000 Virtual Library System EVA Gateway User Manual

Page 132: Cli-only commands, Connection commands

Advertising
background image

12 CLI Command Set

This section describes the VLS command-line interface (CLI) command set. The CLI command allows
you to remotely configure, manage, and monitor the VLS over the LAN using a secure shell session.
It also allows you to locally configure, manage, and monitor the VLS through the serial connection.

Commands

There are two types of CLI commands:

•

CLI-only commands

Commands that are processed by the CLI and affect only the CLI.

•

VLS commands

Commands that are passed to the VLS to configure, manage, and monitor the VLS.

Conventions

All command arguments are case-sensitive and optional. They can be specified in any order. There
are several option tags associated with a command. The following conventions are used in this
section to identify option tags and arguments:

•

An option tag is preceded by a -.

•

The argument is separated from the option tag by a space.

•

If an argument contains a space, it must be enclosed by either two single quotes or two double
quotes.

•

If there is no argument after an option tag, the option is a switch.

•

An * after an argument means the argument (including its option tag) can be repeated.

•

A | between a compound argument means one or the other argument.

CLI-only Commands

This section describes the CLI-only commands in the VLS CLI command set.

Connection Commands

Use the CLI commands in

CLI connection commands

to establish or close a VLS secure shell or

serial user interface session.

Table 14 CLI Connection Commands

Description

Command

Terminates the CLI session.

bye | done | exit |

logout | quit

Closes the connection to the VLS.

close

Displays the fully qualified name of the VLS and its IP address.

getHost

Connects to a host. Where <-tag> can be:

-a<s>

- Host name (localhost is default) (optional)

connect

-p<s>

- Password (optional)

-u<s>

- userid (optional)

132

CLI Command Set

Advertising