Setting a Telnet Password for a Terminal Line
Beginning in user EXEC mode, follow these steps to set a Telnet password for the connected terminal line:
Before You Begin
•
Attach a PC or workstation with emulation software to the switch console port, or attach a PC to the
Ethernet management port.
•
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
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
764
How to Control Switch Access with Passwords and Privilege Levels
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......