Cli quick reference, Connecting to the cli, Logging in and out – HP Storage EVA Capacity Upgrades User Manual

Page 43: Using the cli, B cli quick reference, Bcli quick reference

Advertising
background image

30-10022-01 loop switch user guide

43

B

CLI Quick Reference

Connecting to the CLI

The Command Line Interface (CLI) can be accessed through a network interface using a terminal
emulation program, such as telnet, or through the serial interface from a local computer using a utility
program, such as HyperTerminal. Refer to the HP EVA 4000/6000/8000 30-10022-01 loop switch CLI
reference guide
for detailed descriptions of CLI commands and usage.

To connect through a network interface:

Use a network terminal emulation program. For example, if using the telnet command on a
Windows workstation, type telnet <IPaddress> at a command prompt, where <IPaddress> is
the switch’s IP address.

To connect through a serial interface:

1.

Attach one end of the included null-modem cable to the computer’s RS-232 serial port, and
attach the other end to the switch’s RS-232 serial port.

2.

Open a terminal session through a serial terminal emulation program (such as
HyperTerminal®) with the appropriate serial port (for example, COM1) and the following serial
port parameters:

• Bits per second: 115200
• Data bits: 8
• Parity: None
• Stop bits: 1
• Flow control: None

3.

If using HyperTerminal, press E

NTER

to receive a prompt.

4.

If using the tip command on a UNIX workstation, do the following:

a.

View the /etc/remote file and create an alias similar to Hardware but with the serial
port parameters above (suggested name: Switch).

b.

Use the tip command to establish a connection through the created alias, for
example tip switch.

Logging In and Out

The CLI does not require login if only viewing basic system information. However, for viewing detailed
system information or configuring any switch settings, you must log in to the switch.

To log in to the CLI, type the password at the prompt and press E

NTER

. The default password is

“password”.

To log out of the CLI, type lo and press E

NTER

, or exit the terminal session.

Using the CLI

The CLI enables users to monitor and change system and port configurations, configure event
reporting parameters, and install firmware. For additional information on the CLI, see the HP EVA
4000/6000/8000 30-10022-01 loop switch CLI reference guide
.

To enter a command, type the command text or the number of the command.

To return to the previous menu, type .. and press E

NTER

.

To return directly to the Root menu, type root and press E

NTER

.

To cancel a prompt or input request, press E

NTER

.

To display help for specific command, type ? <command> and press E

NTER

.

To display the current menu, press E

NTER

.

Advertising