■ Set a password for this mode by using either the enable password or the enable
secret command in Global Configuration mode. This protects the system from
any unauthorized use.
■ Once a password is set, anyone trying to use Privileged Exec mode will be asked
to provide the password.
■ Example 1 (accessing Privileged Exec mode at the default level [10])
host1>enable
password:*******
host1#
■ Example 2 (accessing Privileged Exec mode at the highest level [15]; a password
is not set for this example)
host1>enable 15
host1#
■ There is no no version.
■ See enable.
Moving from Privileged Exec to User Exec Mode
To move from the Privileged Exec mode to the User Exec mode, enter the disable
command. For example:
host1#disable
host1>
NOTE: Using the exit command from either the Privileged Exec or User Exec mode
logs out of the CLI.
To move to a lower Privileged Exec mode, follow the disable command with an
access level value. For example:
host1#show privilege
Privilege level is 10
host1# disable 5
host1#show privilege
Privilege level is 5
disable
Use to exit Privileged Exec mode and return to User Exec mode.■
■ Use to shift to a lower Privilege Exec mode level without returning to User
Exec mode. Specifying a privilege level after the disable command changes
the Privileged Exec mode to the lower level that you specify; you do not
return to User Exec mode.
■ Example 1
Accessing the CLI ■ 51
Chapter 2: Command-Line Interface