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 Cisco 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

Enables privileged EXEC mode.

 

 

Enter your password if prompted.

 

Example:

 

 

Router> enable

 

Step 2

 

 

configure terminal

Enters global configuration mode.

 

Example:

 

 

Router# configure terminal

 

Step 3

 

 

line vty line-number [ending-line-number]

Starts the line configuration command collection mode for

 

 

the virtual terminal lines (vty) for remote console access.

 

Example:

Make sure that you configure all vty lines on your

 

Router(config)# line vty 0 4

router.

 

 

Note To verify the number of vty lines on your router, use

 

 

the line vty ? command.

 

 

 

 

 

Hardware Installation Guide for the Cisco 4451-X Integrated Services Router

 

 

 

 

 

 

OL-27644-01

 

 

4-16

 

 

 

 

 

Page 99
Image 99
Cisco Systems ISR4451XK9 manual Starts the line configuration command collection mode for, Line vty ? command