3-5
Using the Command Line Interface (CLI)
Using the CLI
Using the Command Line
Interface (CLI)
Manager Privileges
Manager privileges give you three additional lev els of access: Manager, Global
Configuration, and Context Configuration. (See figure .) A "#" character
delimits any Manager prompt. For example:
HP4108#_ (Example of the Manager prompt.)
Manager level: Provides all Operator level privileges plus the ability to
perform system-level actions that do not require saving changes to the
system configuration file. The prompt for the Manager level contains only
the system name and the "#" delimiter, as shown above. To select this
level, enter the enable command at the Operator level prompt and enter
the Manager password, when prompted. For example:
HP4108> enable (Enter enable at the Operator prompt.)
HP4108# _ (The Manager prompt.)
Global Configuration level: Provides all Operator and Manager level
privileges, and enables you to make configuration changes to any of the
switchs software features. The prompt for the Global Configuration level
includes the system name and "(config)". To select this level, enter the
config command at the Manager prompt. For example:
HP4108# _ (Enter config at the Manager prompt.)
HP4108(config)#_ (The Global Config prompt.)
Context Configuration level: Provides all Operator and Manager
privileges, and enables you to make configuration changes in a specific
context, such as one or more ports or a VLAN. The prom pt for the Context
Configuration level includes the system name and the selected context.
For example:
HP4108(eth-1)#
HP4108(vlan-10)#
The Context level is useful, for example, if you want to execute several
commands directed at the same port or VLAN, or if you want to shorten
the command strings for a specific context ar ea. To select this level, enter
the specific context at the Global Configuration level prompt. For
example, to select the context level for an existing VLAN with the VLAN
ID of 10, you would enter the following command and see the indicated
result:
HP4108(config)# vlan 10
HP4108(vlan-10)#