2.1.4. enable

Syntax

enable [<1-15>]

disable [<1-14>]

Parameter


<1-15> Specify privileged level to enable

<1-14> Specify privileged level to disable


Default

Default privilege level is 15 if no privilege level is specified on enable command.

Default privilege level is 1 if no privilege level is specified on disable command.

Mode

User EXEC

Usage

In User EXEC mode, user only allows to do a few actions. Most of commands are only available in privileged EXEC mode. Use “enable” command to enter the privileged mode to do more actions on switch. In privileged EXEC mode, use “exit” command is able to go back to user EXEC mode with original user privilege level. If you need to go back to user EXEC mode with different privilege level, use “disable” command to specify the privilege level you need. In privileged EXEC mode, the prompt will show “Switch”

Example

This example shows how to enter privileged EXEC mode and show current privilege level.

Switch> enable
Switch# show privilege
Current CLI Username: admin
Current CLI Privilege: 15
This example show how to enter user EXEC mode with privilege 3.
Switch# disable 3
Switch> show privilege
Current CLI Username: admin
Current CLI Privilege: 3