Remote access to the virtual connect manager – HP Virtual Connect Flex-10 10Gb Ethernet Module for c-Class BladeSystem User Manual

Page 13

Advertising
background image

Introduction 13

Press the Tab key to auto complete subcommands and managed-elements. You can also type characters and

then press the Tab key to see a narrowed-down list of command options.
You can quit the shell by using the exit command. See the example of logging in to the interactive

management shell below. In the example, the primary VCM is located at IP address 192.168.0.120.

>ssh 192.168.0.120

login as: michael

password: ***********

--------------------------------------------------------------------

HP Virtual Connect Management CLI v4.20

(C) Copyright 2006-2014 Hewlett-Packard Development Company, L.P.

All Rights Reserved

--------------------------------------------------------------------

GETTING STARTED:

help : displays a list of available subcommands

exit : quits the command shell

<subcommand> ? : displays a list of managed elements for a subcommand

<subcommand> <managed element> ? : displays detailed help for a command

->

Script Mode
In some cases, you might want to write automated scripts that execute a single command at a time. These

scripts can be used to batch several commands in a single script file from the SSH client. See the example of

how to use the script mode for CLI command execution below. In the example, the primary VCM is located

at IP address 192.168.0.120.

->ssh [email protected] show enclosure

<command output displayed to user's screen>

IMPORTANT:

To suppress prompting for a password during login, you must first setup the SSH

encryption keys using the VCM Web GUI, and configure your SSH client properly with the keys.

For more information on configuring the SSH keys, see the HP Virtual Connect for c-Class
BladeSystem User Guide
on the HP website (

http://www.hp.com/go/vc/manuals

).

Remote access to the Virtual Connect Manager

To access the VCM CLI remotely through any SSH session:

1.

Using any SSH client application, start an SSH session to the Virtual Connect Manager.

2.

When prompted, enter the assigned IP address or DNS name of the Virtual Connect Manager.

3.

Enter a valid user name.

4.

Enter a valid password. The CLI command prompt appears.

5.

Enter commands for the Virtual Connect Manager.

6.

To terminate the remote access SSH session, close the communication software or enter exit at the CLI

command prompt.

To access the VCM CLI remotely through the Onboard Administrator CLI, run the connect interconnect

command from the Onboard Administrator CLI.

Advertising