HP (Hewlett-Packard) 2520 Switch User Manual


 
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
to
Manager level
Manager level
to
Global configuration
level
Global configuration
level
to a
Context configuration
level
Context configuration
level
to another
Context configuration
level
Move from any level
to the preceding level
Move from any level
to the Manager level
ProCurve
> enable
Password:_
After you enter enable, the Password
prompt appears. After you enter the
Manager password, the system prompt
appears with the # symbol:
ProCurve
#_
ProCurve
# config
ProCurve(config)#
ProCurve
(config)# vlan 10
ProCurve(vlan-10)#
ProCurve
(vlan-10)# interface e 3
ProCurve(int-3)#
The CLI accepts “e” as the abbreviated
form of “ethernet”.
ProCurve
(int-3)# exit
ProCurve(config)# exit
ProCurve# exit
ProCurve>
ProCurve(int-3)# end
ProCurve#
—or—
ProCurve
(config)# end
ProCurve#
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.
4-7