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

HP2512> enable

to

Password:_

Manager level

After you enter enable, the Password prompt

 

appears. After you enter the Manager

 

password, this prompt appears:

 

HP2512#_

Manager level

HP2512# config

to

HP2512(config)#

Global configuration

 

level

 

Global configuration

HP2512(config)# vlan-10

level

HP2512(vlan-10)#

to a

 

Context configuration

 

level

 

Context configuration

HP2512(vlan-10)# interface ethernet 3

level

HP2512(int-3)#

to another

 

Context configuration

 

level

 

Move from any level

HP2512(int-3)# exit

to the preceding level

HP2512(config)# exit

 

HP2512# exit

 

HP2512>

Move from any level

HP2512(int-3)# end

to the Manager level

HP2512#

 

—or—

 

HP2512(config)# end

 

HP2512#

 

 

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.

Line Command the Using (CLI) Interface

3-7