3-7
Using the Command Line Interface (CLI)
Using the CLI
Using the Command Line
Interface (CLI)
How To Move Between Levels
Moving Between the CLI and the Menu Interfa ce. When moving
between interfaces, the switch retains the current privilege level (Manager or
Operator). That is, if you are at the Operator leve l 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 th at parameter.
For example, if you use the menu interface to configure an IP address of "X"
Change in Levels Example of Prompt , Command, and Result
Operator level
to
Manager level
HP4108> enable
Password:_
After you enter enable, the Password prompt
appears. After you enter the Manager
password, the system prompt appears with the
# symbol:
HP4108#_
Manager level
to
Global configuration
level
HP4108# config
HP4108(config)#
Global configuration
level
to a
Context configuration
level
HP4108(config)# vlan 10
HP4108(vlan-10)#
Context configuration
level
to another
Context configuration
level
HP4108(vlan-10)# interface e 3
HP4108(int-3)#
The CLI accepts "e" as the abbreviated form of
"ethernet".
Move from any level
to the preceding level
HP4108(int-3)# exit
HP4108(config)# exit
HP4108# exit
HP4108>
Move from any level
to the Manager level
HP4108(int-3)# end
HP4108#
—or—
HP4108(config)# end
HP4108#