303
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Administering the Wireless Device
Protecting Access to Privileged EXEC Commands
Setting the Privilege Level for a Command
To set the privilege level for a command mode, follow these steps, beginning in privileged EXEC mode.
SUMMARY STEPS
1.
configure terminal
2.
privilege
mode
level
level
command
3.
enable password level
level
password
4.
end
5.
show running-config
or
show privilege
6.
copy running-config startup-config
DETAILED STEPS
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
privilege
mode
level
level
command
Sets the privilege level for a command.
•
For
mode
, enter
configure
for global configuration mode,
exec
for
EXEC mode,
interface
for interface configuration mode, or
line
for
line configuration mode.
•
For
level
, the range is from 0 to 15. Level 1 is for normal user EXEC
mode privileges. Level 15 is the level of access permitted by the
enable
password.
•
For
command
, specify the command to which you want to restrict
access.
Step 3
enable password level
level
password
Specifies the enable password for the privilege level.
•
For
level
, the range is from 0 to 15. Level 1 is for normal user EXEC
mode privileges.
•
For
password
, specify a string from 1 to 25 alphanumeric characters.
The string cannot start with a number, is case sensitive, and allows
spaces but ignores leading spaces. By default, no password is
defined.
Note
The characters TAB, ?, $, +, and [ are invalid characters for
passwords.
Step 4
end
Returns to privileged EXEC mode.