4-17
Hardware Installation Guide for  Cisco 4000 Series Integrated Services Routers
OL-32185-02
Chapter 4      Configure Initial Router Settings on Cisco 4000 Series ISRs
  Perform Initial Configuration on Cisco 4000 Series ISRs
Configuration Examples 
The following example shows how to configure virtual terminal lines with a password:
!
line vty 0 4 
password guessagain 
login 
!
What to Do Next
After you configure the vty lines, follow these steps:
• (Optional) To encrypt the virtual terminal line password, see the “Configuring Passwords and 
Privileges” chapter in the Cisco IOS Security Configuration Guide. Also see the Cisco IOS Password 
Encryption Facts tech note.
• (Optional) To secure the VTY lines with an access list, see the “Part 3: Traffic Filtering and 
Firewalls” in the Cisco IOS Security Configuration Guide.
Step 4
password password 
Example:
Router(config-line)# password guessagain
Specifies a password on a line.
Step 5
login 
Example:
Router(config-line)# login
Enables password checking at login.
Step 6
end 
Example:
Router(config-line)# end
Returns to privileged EXEC mode.
Step 7
show running-config 
Example:
Router# show running-config
Displays the running configuration file. Verify that you 
bave properly configured the virtual terminal lines for 
remote access.
Step 8
From another network device, attempt to open a Telnet 
session to the router. 
Example:
Router# 172.16.74.3 
Password:
Verifies that you can remotely access the router and that the 
virtual terminal line password is correctly configured.
Command or Action Purpose