Purpose
Command or Action
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 6
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 7
startup-config
Related Topics
Preventing Unauthorized Access, on page 17
Terminal Line Telnet Configuration, on page 21
Example: Setting a Telnet Password for a Terminal Line, on page 36
Configuring Username and Password Pairs
Follow these steps to configure username and password pairs:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
username name
[
privilege level
] {
password encryption-type password
}
4.
Use one of the following:
•
line console 0
•
line vty 0 15
5.
login local
6.
end
7.
show running-config
8.
copy running-config startup-config
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29048-01
29
Controlling Switch Access with Passwords and Privilege Levels
Configuring Username and Password Pairs