DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Sets the privilege level for a command.
privilege mode level level command
Step 3
Example:
Switch(config)# privilege exec level
•
For mode, enter configure for global configuration mode, exec for
EXEC mode, interface for interface configuration mode, or line
for line configuration mode.
14 configure
•
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.
Specifies the password to enable the privilege level.
enable password level level password
Step 4
Example:
Switch(config)# enable password 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,
14 SecretPswd14
and allows spaces but ignores leading spaces. By default, no
password is defined.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 6
startup-config
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
32 OL-29048-01
Controlling Switch Access with Passwords and Privilege Levels
Setting the Privilege Level for a Command