VTY Line Configuration for Telnet Access - IP-NETWORK-BASICS (2024)

Virtual terminal lines are used to allow remote access to a router. The router has five virtual terminal lines, by default. You will configure the five vty lines (vty 0 through 4) for Telnet access and set a password on these lines. In addition, you want to ensure that, after 15 minutes of inactivity on the vty lines, the connection times out. To configure the vty lines, you will do the following from global configuration mode:

Step 1Enter line configuration mode.
Step 2Enable login on the vty lines.
Step 3Set a password for Telnet access.
Step 4Set theexec-timeoutinterval.

Device configuration :

RouterINB#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

RouterINB (config)#line vty 0 4

RouterINB (config-line)#

You can verify that you have successfully entered line configuration mode because the prompt has changed, as shown in above config.. Next, enable login on the vty lines and set a Telnet password of INBSecret on RouterINB.

Configure vty Lines with Login and Password Checking

RouterINB (config-line)#login

RouterINB (config-line)#password INBSecret

Notes:

Remember that if an enable password has not been set on the router, you cannot Telnet into the router. This is true even when a password has been set on the vty lines. Although not shown here, assume that the terminal server has been configured with the enable passwordINBSecret.

Finally, it is a good idea to set timeout values on your vty lines so that idle Telnet sessions will not remain up indefinitely. By default, theexec-timeoutis set to 10 minutes on both the console and the vty ports.

The timeout value is specified in minutes and seconds. You will set the timeout value to 15 minutes and 0 seconds on vty lines 0 through 4 using theexec-timeoutcommand.

Setting theexec-timeoutValue to 15 Minutes and 0 Seconds on vty Lines 0 Through 4

RouterINB (config-line)#exec-timeout ?

<0-35791> Timeout in minutes

RouterINB (config-line)#exec-timeout 15 ?

<0-2147483> Timeout in seconds

<cr>

RouterINB (config-line)#exec-timeout 15 0

RouterINB (config-line)#

Verify the configuration changes in your running-config by exiting back to privileged EXEC with CTRL-Z and then using ashow running-config command. The highlighted section of Example 4-8 shows the last portion of the running-config with the configuration of the five vty lines.

Verify Changes withshow running-configCommand

RouterINB (config-line)#^Z

RouterINB #show running-config

line con 0

login

line 1 16

line aux 0

line vty 0 4

exec-timeout 15 0

password 7 15140A0007252537

login

The end of the config shows all lines on the router, as well as the changes you have made to the vty lines.

Saving the Running Configuration

Save the configuration by typingcopy running-config startup-configfrom global configuration mode,

Copy running-config to startup-config

RouterINB #copy running-config startup-config

Building configuration…

[OK]

RouterINB #

Related

VTY Line Configuration for Telnet Access - IP-NETWORK-BASICS (2024)
Top Articles
travel mode Definition | Law Insider
Do You Need Internet Access for Contactless Payment?
Http://N14.Ultipro.com
Rainbird Wiring Diagram
Practical Magic 123Movies
What Auto Parts Stores Are Open
DL1678 (DAL1678) Delta Historial y rastreo de vuelos - FlightAware
7.2: Introduction to the Endocrine System
Craigslist In Fredericksburg
Palace Pizza Joplin
Tlc Africa Deaths 2021
Does Publix Have Sephora Gift Cards
Johnston v. State, 2023 MT 20
This Modern World Daily Kos
Alejos Hut Henderson Tx
Youravon Comcom
Truth Of God Schedule 2023
Tygodnik Polityka - Polityka.pl
Van Buren County Arrests.org
Mccain Agportal
Lista trofeów | Jedi Upadły Zakon / Fallen Order - Star Wars Jedi Fallen Order - poradnik do gry | GRYOnline.pl
Accident On The 210 Freeway Today
Decosmo Industrial Auctions
Walmart Near South Lake Tahoe Ca
Air Quality Index Endicott Ny
Bennington County Criminal Court Calendar
Talk To Me Showtimes Near Marcus Valley Grand Cinema
C&T Wok Menu - Morrisville, NC Restaurant
What Time Does Walmart Auto Center Open
Hampton University Ministers Conference Registration
Atlases, Cartography, Asia (Collection Dr. Dupuis), Arch…
Fiona Shaw on Ireland: ‘It is one of the most successful countries in the world. It wasn’t when I left it’
Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
'Insidious: The Red Door': Release Date, Cast, Trailer, and What to Expect
Ardie From Something Was Wrong Podcast
Netspend Ssi Deposit Dates For 2022 November
Best Restaurants Ventnor
Rubmaps H
Beaver Saddle Ark
Craigslist Greencastle
Aveda Caramel Toner Formula
Main Street Station Coshocton Menu
Thanksgiving Point Luminaria Promo Code
Linda Sublette Actress
Gold Dipping Vat Terraria
Suffix With Pent Crossword Clue
Wasmo Link Telegram
Professors Helpers Abbreviation
Adams-Buggs Funeral Services Obituaries
Clock Batteries Perhaps Crossword Clue
Ocean County Mugshots
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 6124

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.