The exec-timeout Command - Study CCNA (2024)

By default, an IOS device will disconnect a console or VTY user after 10 minutes of inactivity. You can specify a different inactivity timer using the exec-timeout MINUTES SECONDS line mode command.

For example, to disconnect a console user after 90 seconds of inactivity, we can use the following command:

R1(config)#line con 0R1(config-line)#exec-timeout 1 30

After 90 seconds of inactivity, the session will be disconnected and the user will need to supply the console password to log back in:

R1(config-line)#R1 con0 is now availablePress RETURN to get started.User Access VerificationPassword:

NOTE
To disable the timeout, use the value of 0 (not recommended in production environments!)

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:

The exec-timeout Command - Study CCNA (1)

The exec-timeout Command - Study CCNA (2024)
Top Articles
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 6622

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.