Controlling Switch Access with Passwords and Privilege Levels
Command or Action
Step 5
login local
Example:
Switch(config-line)# login local
Step 6
end
Example:
Switch(config)# end
Step 7
show running-config
Example:
Switch# show running-config
Step 8
copy running-config startup-config
Example:
Switch# copy running-config
startup-config
Related Topics
Preventing Unauthorized Access, on page 17
Username and Password Pairs, on page 21
Setting the Privilege Level for a Command
Follow these steps to set the privilege level for a command:
SUMMARY STEPS
1. enable
2. configure terminal
3. privilege mode level level command
4. enable password level level password
5. end
6. copy running-config startup-config
OL-29048-01
Purpose
Enables local password checking at login time. Authentication is
based on the username specified in Step 3.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
Setting the Privilege Level for a Command
31