Cisco exec-timeout and absolute-timeout Commands - Study CCNP (2024)

Idle EXEC sessions are not terminated by default. It is a critical security risk, and it is vulnerable to exploitation. Therefore, the Cisco ‘exec-timeout’ command and the ‘absolute-timeout’ command are utilized to prevent possible security risks brought by the issue.

Cisco exec-timeout Command

The Cisco ‘exec-timeout‘ command sets a specific time to disconnect idle EXEC sessions. The default value for the EXEC timeout is 10 minutes. We can also specify a certain time by indicating how many minutes and seconds the idle EXEC session would run before it will timeout. If there is no user input within the indicated time, then the session will be closed. The command is entered in the line configuration mode. So first, enter the global configuration mode and then access the line configuration mode.

Router>enableRouter#configure terminalRouter(config)#line con 0Router(config-line)# exec-timeout 3 30Router(config-line)# exitRouter(config)#line vty 0 4Router(config-line)#exec-timeout 4 0

In the example configuration above, exec-timeout is set with 3 minutes and 30 seconds of inactivity using the console port or line. With the virtual terminal lines (vty), the timeout value was set to 4 minutes. We can do a ‘show run‘ on the privileged EXEC mode to view the set EXEC timeout values.

line con 0exec-timeout 5 0!line vty 0 4exec-timeout 2 30login!

To disable the EXEC timeout, either of the following commands are used:

Router(config-line)#exec-timeout 0 0Router(config-line)#no exec-timeout

Cisco absolute-timeout Command

The absolute timeout terminates the EXEC session even if it is still active and is used during the set timeout period. To enable absolute timeout, in the command terminal, enter configuration commands ‘absolute-timeout‘ and then specify the timeout value in minutes.

An additional command, ‘logout-warning‘, is also recommended to be used to display a line termination warning to the users regarding the upcoming forced absolute timeout. The logout warning value is in seconds.

Router(config)#line vty 0 4Router(config-line)#exec-timeout 4 0Router(config-line)#absolute-timeout 5Router(config-line)#logout-warning 30

The absolute timeout value is set to 5 minutes in the configuration example above. Therefore, the EXEC session will be terminated even if it is still active and the user is still using it. A logout warning will appear 30 seconds before the absolute timeout.

Download our Free CCNA Study Guide PDF for complete notes on all the CCNA 200-301 exam topics in one book.

We recommend the Cisco CCNA Gold Bootcamp as your main CCNA training course. It’s the highest rated Cisco course online with an average rating of 4.8 from over 30,000 public reviews and is the gold standard in CCNA training:

Cisco exec-timeout and absolute-timeout Commands - Study CCNP (1)

Cisco exec-timeout and absolute-timeout Commands - Study CCNP (2024)
Top Articles
Choose your MoodleCloud site name and URL
Product life cycle guide: stages and examples
Sprinter Tyrone's Unblocked Games
Part time Jobs in El Paso; Texas that pay $15, $25, $30, $40, $50, $60 an hour online
Comcast Xfinity Outage in Kipton, Ohio
Walgreens Alma School And Dynamite
How to Watch Braves vs. Dodgers: TV Channel & Live Stream - September 15
อพาร์ทเมนต์ 2 ห้องนอนในเกาะโคเปนเฮเกน
Aktuelle Fahrzeuge von Autohaus Schlögl GmbH & Co. KG in Traunreut
Bjork & Zhulkie Funeral Home Obituaries
Simon Montefiore artikelen kopen? Alle artikelen online
Guidewheel lands $9M Series A-1 for SaaS that boosts manufacturing and trims carbon emissions | TechCrunch
Diesel Mechanic Jobs Near Me Hiring
Kürtçe Doğum Günü Sözleri
Cambridge Assessor Database
Prosser Dam Fish Count
Wausau Obits Legacy
Ibukunore
V-Pay: Sicherheit, Kosten und Alternativen - BankingGeek
Wausau Marketplace
Trivago Sf
Curry Ford Accident Today
Riherds Ky Scoreboard
Little Rock Skipthegames
Shreveport City Warrants Lookup
Conscious Cloud Dispensary Photos
Wonder Film Wiki
Enduring Word John 15
Joann Fabrics Lexington Sc
Sacramento Craigslist Cars And Trucks - By Owner
Ryujinx Firmware 15
Bfri Forum
How To Make Infinity On Calculator
RFK Jr., in Glendale, says he's under investigation for 'collecting a whale specimen'
Royals op zondag - "Een advertentie voor Center Parcs" of wat moeten we denken van de laatste video van prinses Kate?
John F Slater Funeral Home Brentwood
Missouri State Highway Patrol Will Utilize Acadis to Improve Curriculum and Testing Management
Google Chrome-webbrowser
Cygenoth
Sukihana Backshots
Davis Fire Friday live updates: Community meeting set for 7 p.m. with Lombardo
Low Tide In Twilight Manga Chapter 53
Setx Sports
Autum Catholic Store
Lucifer Morningstar Wiki
Craigslist/Nashville
Ups Authorized Shipping Provider Price Photos
Mega Millions Lottery - Winning Numbers & Results
View From My Seat Madison Square Garden
Maurices Thanks Crossword Clue
Billings City Landfill Hours
Overstock Comenity Login
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 5651

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.