Privilege level operation

The access sequence for the various privilege levels is shown in Access sequence for privilege levels.

Access sequence for privilege levels

You can move between the privilege levels. The following table lists examples and results of movement between the privilege levels.

Change in Levels

Example of Prompt, Command, and Result

Operator level to Manager level


switch> enable

Password:_

switch#_

After you enter enable, the Password prompt appears. After you enter the Manager password, the system prompt appears with the # symbol:

Manager level to Global configuration level


switch# config

switch(config)#
 

Global configuration level to a Context configuration level


switch(config)# vlan 10

switch(vlan-10)#
 

Context configuration level to another Context configuration level


switch(vlan-10)# interface e 3

switch(int-3)#

The CLI accepts "e" as the abbreviated form of "ethernet".

Move from any level to the preceding level


switch(int-3)# exit

switch(config)# exit

switch# exit

switch>
 

Move from any level to the Manager level


switch(int-3)# end

switch#
-or-

switch(config)# end

switch#
 

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 WebAgent), the most recently configured version of a parameter setting overrides any earlier settings for that parameter. For example, if you use the menu interface to configure an IP address of "X" for VLAN 1 and later use the CLI to configure a different IP address of "Y" for VLAN 1, then "Y" replaces "X" as the IP address for VLAN 1 in the running-config file. If you subsequently execute write memory in the CLI, then the switch also stores "Y" as the IP address for VLAN 1 in the startup-config file. (For more on the startup-config and running config files, see "Switch Memory and Configuration".)