4-16
Hardware Installation Guide for the Cisco 4451-X Integrated Services Router
OL-27644-01
Chapter 4 Initial Configuration
Performing the Initial Configuration on the Router
Configuring Virtual Terminal Lines for Remote Console Access
Virtual terminal (vty) lines are used to allow remote access to the router. This section shows you how to
configure the virtual terminal lines with a password, so that only authorized users can remotely access
the router.
The router has five virtual terminal lines by default. However, you can create additional virtual terminal
lines. See the
Cisco IOS XE Dial Technologies Configuration Guide at
http://www.cisco.com/en/US/docs/ios/dial/configuration/guide/2_xe/dia_2_xe_book.html
.
Line passwords and password encryption is described in the C
isco IOS XE Security Configuration
Guide: Secure Connectivity
at the following URL:
http://www.cisco.com/en/US/docs/ios/ios_xe/sec_secure_connectivity/configuration/guide/2_xe/sec_se
cure_connectivity_xe_book.html
. See the
Security with Passwords, Privilege Levels, and Login
Usernames for CLI Sessions on Networking Devices
section. If you want to secure the vty lines with an
access list, see the
Access Control Lists: Overview and Guidelines
.
SUMMARY STEPS
1.
enable
2.
configure
terminal
3.
line
vty
line-number
[
ending-line-number
]
4.
password
password
5.
login
6.
end
7.
show running-config
8.
From another network device, attempt to open a Telnet session to the router.
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
line
vty
line-number
[
ending-line-number
]
Example:
Router(config)# line vty 0 4
Starts the line configuration command collection mode for
the virtual terminal lines (vty) for remote console access.
•
Make sure that you configure all vty lines on your
router.
Note
To verify the number of vty lines on your router, use
the
line vty ?
command.