Using the Command Line Interface (CLI)

Using the CLI

How To Move Between Levels

Change in Levels

Example of Prompt, Command, and Result

 

 

Operator level

HPswitch> enable

to

Password:_

Manager level

After you enter enable, the Password prompt

 

appears. After you enter the Manager

 

password, the system prompt appears with the

 

# symbol:

 

HPswitch#_

Manager level

HPswitch# config

to

HPswitch(config)#

Global configuration

 

level

 

Global configuration

HPswitch(config)# vlan 10

level

HPswitch(vlan-10)#

to a

 

Context configuration

 

level

 

Context configuration

HPswitch(vlan-10)# interface e 3

level

HPswitch(int-3)#

to another

The CLI accepts “e” as the abbreviated form of

Context configuration

ethernet”.

level

 

Move from any level

HPswitch(int-3)# exit

to the preceding level

HPswitch(config)# exit

 

HPswitch# exit

 

HPswitch>

Move from any level

HPswitch(int-3)# end

to the Manager level

HPswitch#

 

—or—

 

HPswitch(config)# end

 

HPswitch#

 

 

Moving Between the CLI and the Menu Interface. When moving between interfaces, the switch retains the current privilege level (Manager or Operator). That is, if you are at the Operator level in the menu and select the Command Line Interface (CLI) option from the Main Menu, the CLI prompt appears at the Operator level.

Changing Parameter Settings. Regardless of which interface is used (CLI, menu interface, or web browser interface), the most recently configured version of a parameter setting overrides any earlier settings for that parameter. For example, if you use the menu interface to configure an IP address of “X

3-7