Basic Operation Guide 2014/02

Table 3 Privilege level hierarchy Operator Privilege (continued)
Example of Prompt and Permitted OperationsPrivilege Level
link-test
<argument>
Move from the CLI interface to the menu interface.enable
Move from the CLI interface to the menu interface.menu
Exit from the CLI interface and terminate the console
session.
logout
Terminate the current session (same as logout).exit
Table 4 Privilege level hierarchy Manager Privilege
Example of Prompt and Permitted OperationsPrivilege Level
Perform system-level actions such as system control,
monitoring, and diagnostic commands, plus any of
HP Switch#Manager Level
the Operator-level commands. For a list of available
commands, enter ? at the prompt.
Execute configuration commands, plus all Operator
and manager commands. For a list of available
commands, enter ? at the prompt.
HP Switch(config)#Global Configuration Level
Execute context-specific configuration commands,
such as a particular VLAN or switch port. This is
HP Switch(eth-5)#
HP Switch(vlan-100)#
Context Configuration Level
useful for shortening the command strings you type,
and for entering a series of commands for the same
context. For a list of available commands, enter ? at
the prompt.
How to move between levels
Example of Prompt, Command, and ResultChange in Levels
After you enter enable, the
Password prompt appears. After
HP Switch> enable
Password:_
Operator level to Manager level
you enter the Manager password,
HP Switch#_
the system prompt appears with
the # symbol:
HP Switch# configManager level to Global
configuration level
HP Switch(config)#
HP Switch(config)# vlan 10Global configuration level to a
Context configuration level
HP Switch(vlan-10)#
The CLI accepts "e" as the
abbreviated form of "ethernet".
HP Switch(vlan-10)# interface e 3
HP Switch(int-3)#
Context configuration level to
another Context configuration level
HP Switch(int-3)# exitMove from any level to the
preceding level
HP Switch(config)# exit
HP Switch# exit
HP Switch>
HP Switch(int-3)# endMove from any level to the
Manager level
HP Switch#
-or-
HP Switch(config)# end
HP Switch#
28 Using the Command Line Interface (CLI)