Using the Command Line Interface (CLI)

Using the CLI

Manager Privileges

Manager privileges give you three additional levels of access: Manager, Global Configuration, and Context Configuration. (See figure .) A "#" character delimits any Manager prompt. For example:

HPswitch#_

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:

HPswitch>

enable

Enter enable at the Operator prompt.

HPswitch#

_

The Manager prompt.

Global Configuration level: Provides all Operator and Manager level privileges, and enables you to make configuration changes to any of the switch’s 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:

HPswitch# _ Enter config at the Manager prompt. HPswitch(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 prompt for the Context Configuration level includes the system name and the selected context. For example:

HPswitch(eth-1)#

HPswitch(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 area. 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:

HPswitch(config)# vlan 10

HPswitch(vlan-10)#

4-5