Use this command to activate Privileged Exec mode. In privileged mode, additional commands are available, and certain commands display additional information. See Understanding Command Modes.
Syntax
enable [level]
level - Privilege level to log in to the device.
The device has two predefined privilege levels: 0: Normal Exec, 15: Privileged Exec.
Enter level 15 to access Privileged Exec mode.
Default Setting
Level 15
Command Mode
Normal Exec
Command Usage
Example
>enable
#
Related Commands
Use this command to return to Normal Exec mode from privileged mode. In normal access mode, you can only display basic information on the switch's configuration or Ethernet statistics. To gain access to all commands, you must use the privileged mode. See Understanding Command Modes.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
The ">" character is appended to the end of the prompt to indicate that the system is in normal access mode.
Example
#disable
>
Related Commands
Use this command to activate Global Configuration mode. You must enter this mode to modify any settings on the switch. You must also enter Global Configuration mode prior to enabling some of the other configuration modes, including Interface Configuration, Line Configuration, and VLAN Database Configuration. See Understanding Command Modes.
Default Setting
None
Command Mode
Privileged Exec
Example
#configure
(config)#
Related Commands
Use this command to show the contents of the command history buffer.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
Command Usage
The history buffer size is fixed at 20 commands.
Example
In this example, the show history command lists the contents of the command history buffer:
#show history
Execution command history:
2 config
1 show historyConfiguration command history:
4 interface vlan 1
3 exit
2 interface vlan 1
1 end#
The ! command repeats commands from the Execution command history buffer when you are in Normal Exec or Privileged Exec Mode, and commands from the Configuration command history buffer when you are in any of the configuration modes. In this example, the !2 command repeats the second command in the Execution history buffer (config).
#!2
#config
(config)#
Use this command to restart the system.
NOTE: When the system is restarted, it will always run the Power-On Self-Test. It will also retain all configuration information stored in nonvolatile memory by the copy running-config startup-config command. |
Default Setting
None
Command Mode
Privileged Exec
Command Usage
This command resets the entire system.
Example
This example shows how to reset the switch:
#reload
System will be restarted, continue <y/n>? y
Use this command to return to Privileged Exec mode.
Default Setting
None
Command Mode
Global Configuration, Interface Configuration, Line Configuration, VLAN Database Configuration
Example
This example shows how to return to the Privileged Exec mode from the Interface Configuration mode:
(config-if)#end
#
Use this command to return to the previous configuration mode or exit the configuration program.
Default Setting
None
Command Mode
Any
Example
This example shows how to return to the Privileged Exec mode from the Global Configuration mode, and then quit the CLI session:
(config)#exit
#exitPress ENTER to start session
User Access Verification
Username:
Use this command to exit the configuration program.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
Command Usage
The quit and exit commands can both exit the configuration program.
Example
This example shows how to quit a CLI session:
#quit
Press ENTER to start session
User Access Verification
Username: