Purpose
Command or Action
Example:
Switch(config)#
line console 0
or
Switch(config)#
line vty 15
Enables local password checking at login time. Authentication is based
on the username specified in Step 2.
login local
Example:
Switch(config-line)#
login local
Step 4
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 5
Related Topics
Preventing Unauthorized Access, on page 19
Username and Password Pairs, on page 23
Setting the Privilege Level for a Command
Beginning in privileged EXEC mode, follow these steps to set the privilege level for a command:
SUMMARY STEPS
1.
configure terminal
2.
privilege mode level level command
3.
enable password level level password
4.
end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01
31
Controlling Switch Access with Passwords and Privilege Levels
Setting the Privilege Level for a Command