Protecting Access to Privileged EXEC Commands
Command
Step 5
show running-config
or
show privilege
Step 6
copy running-config startup-config
When you set a command to a privilege level, all commands whose syntax is a subset of that command
are also set to that level. For example, if you set the show ip route command to level 15, the show
commands and show ip commands are automatically set to privilege level 15 unless you set them
individually to different levels.
To return to the default privilege for a given command, use the no privilege mode level level command
command in global configuration mode.
The following example shows how to set the configure command to privilege level 14 and how to define
SecretPswd14 as the password users must enter to use level 14 commands:
AP(config)# privilege exec level 14 configure
AP(config)# enable password level 14 SecretPswd14
Logging Into and Exiting a Privilege Level
To log in to a specified privilege level or to exit to a specified privilege level, follow these steps, beginning
in privileged EXEC mode.
SUMMARY STEPS
1.
2.
DETAILED STEPS
Command
Step 1
enable level
Step 2
disable level
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
304
Purpose
Verifies your entries.
The show running-config command displays the password and access
level configuration.
The show privilege command displays the privilege level configuration.
(Optional) Saves your entries in the configuration file.
enable level
disable level
Chapter
Purpose
Logs in to a specified privilege level.
For level, the range is 0 to 15.
Exits to a specified privilege level.
For level, the range is 0 to 15.
Administering the Wireless Device