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
Crypto Account Funding | Robinhood
How To Calculate Monthly Interest for Loans, Bank Accounts, and More
Creepshotorg
Katie Pavlich Bikini Photos
Obor Guide Osrs
Cad Calls Meriden Ct
RuneScape guide: Capsarius soul farming made easy
Okatee River Farms
Hover Racer Drive Watchdocumentaries
Grand Park Baseball Tournaments
Crusader Kings 3 Workshop
Mid90S Common Sense Media
Purple Crip Strain Leafly
Degreeworks Sbu
Springfield Mo Craiglist
Burn Ban Map Oklahoma
Wisconsin Women's Volleyball Team Leaked Pictures
Driving Directions To Bed Bath & Beyond
Wausau Obits Legacy
Craigslist Sparta Nj
Why Is 365 Market Troy Mi On My Bank Statement
Full Standard Operating Guideline Manual | Springfield, MO
Lola Bunny R34 Gif
Xfinity Cup Race Today
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
When Does Subway Open And Close
Makemv Splunk
Craigslist Comes Clean: No More 'Adult Services,' Ever
897 W Valley Blvd
Downloahub
Stubhub Elton John Dodger Stadium
Used 2 Seater Go Karts
Ripsi Terzian Instagram
Soiza Grass
Bt33Nhn
Nicole Wallace Mother Of Pearl Necklace
Family Fare Ad Allendale Mi
The Land Book 9 Release Date 2023
Louisville Volleyball Team Leaks
Ukg Dimensions Urmc
Die Filmstarts-Kritik zu The Boogeyman
Craigslist Jobs Brownsville Tx
Orion Nebula: Facts about Earth’s nearest stellar nursery
Union Corners Obgyn
Patricia And Aaron Toro
A rough Sunday for some of the NFL's best teams in 2023 led to the three biggest upsets: Analysis
Wzzm Weather Forecast
Great Clips Virginia Center Commons
David Turner Evangelist Net Worth
ats: MODIFIED PETERBILT 389 [1.31.X] v update auf 1.48 Trucks Mod für American Truck Simulator
Craigslist Farm And Garden Missoula
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.