4 command view tl cli, Accessing the cli, Starting a serial session – HP Command View for Tape Libraries Software User Manual

Page 180

Advertising
background image

4 Command View TL CLI

In addition to the Command View TL GUI, the Interface Manager card can be managed via a
command line interface (CLI). The CLI provides commands to perform all necessary management
functions.

This chapter explains how to initiate a CLI session, the structure of the CLI, and basic navigational
techniques. For a comprehensive listing of CLI commands, see

(page 190)

.

Accessing the CLI

You can access the CLI either through a direct RS-232 connection, or by using Telnet or SSH over
the LAN. You can have multiple sessions open at the same time (serial, Telnet or SSH, or Command
View TL). If a write operation is in progress in one session, subsequent write operations for that
library from other sessions will be denied.

Serial—Uses a CLI and connects directly to the Interface Manager card through an RS232
serial interface rather than through the LAN.

Telnet—Uses the same CLI as the serial interface, but requires the IP address of the Interface
Manager card to initiate the session. This IP address can be set through the Interface Manager
card serial interface or cascade port or, on ESL E-Series and EML E-Series libraries, through
the library OCP. The advantage of using Telnet over the serial interface is that users can Telnet
from any client machine that is on the LAN; a separate serial connection is not needed.

NOTE:

If you use Telnet to change the IP address of the Interface Manager card, you must

log in to a new Telnet session with the new IP address.

The Telnet service may be disabled by the admin user. If the Telnet service has been disabled,
it can only be re-enabled with a Serial connection. See

set inet telnet (page 206)

.

SSH—This protocol uses the same CLI as the Telnet and serial interfaces, but over a more
secure channel. Different SSH client applications are available for various operating systems.
When connected via SSH, use it in the exact way you would use Telnet.

Starting a serial session

1.

Connect the management station or other PC or laptop to the Interface Manager card using
the serial cable shipped with the Interface Manager card.

2.

Start a terminal emulation program on the PC that you connected to the Interface Manager
card in

Step 1

. A variety of programs can be used, but HyperTerminal, included with Microsoft

Windows operating systems, is the most common. To start HyperTerminal, select Start+All
Programs

→Accessories→Communications→HyperTerminal.

3.

Set the communications settings as follows:

Port Speed: 9600

Data Bits: 8

Parity: none

Stop bits: 1

Flow control: none

180 Command View TL CLI

Advertising