•
The default data characteristics of the console port are 9600, 8, 1, no parity. You might need to press
the Return key several times to see the command-line prompt.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
line vty 0 15
4.
password password
5.
end
6.
show running-config
7.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
If a password is required for access to privileged EXEC
mode, you will be prompted for it.
Note
Enters privileged EXEC mode.
enable
Example:
Switch>
enable
Step 1
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Configures the number of Telnet sessions (lines), and enters line
configuration mode.
line vty 0 15
Example:
Switch(config)#
line vty 0 15
Step 3
There are 16 possible sessions on a command-capable Switch. The
0 and 15 mean that you are configuring all 16 possible Telnet
sessions.
Sets a Telnet password for the line or lines.
password password
Step 4
Example:
Switch(config-line)#
password abcxyz543
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.
Returns to privileged EXEC mode.
end
Example:
Switch(config-line)#
end
Step 5
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
28
OL-29048-01
Controlling Switch Access with Passwords and Privilege Levels
Setting a Telnet Password for a Terminal Line