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
Is Coinbase safe and trustworthy? | NordVPN
05 Ways To Beat Employee's Unethical Behavior In The Workplace
Cranes For Sale in United States| IronPlanet
Average Jonas Wife
Frederick County Craigslist
Ret Paladin Phase 2 Bis Wotlk
Craigslist Parsippany Nj Rooms For Rent
Comcast Xfinity Outage in Kipton, Ohio
Toyota gebraucht kaufen in tacoma_ - AutoScout24
Emmalangevin Fanhouse Leak
Osrs But Damage
Deshret's Spirit
Jessica Renee Johnson Update 2023
Purple Crip Strain Leafly
Craigslist Cars Nwi
2021 Lexus IS for sale - Richardson, TX - craigslist
Slope Tyrones Unblocked Games
History of Osceola County
Khiara Keating: Manchester City and England goalkeeper convinced WSL silverware is on the horizon
Missed Connections Dayton Ohio
Lcwc 911 Live Incident List Live Status
Race Karts For Sale Near Me
Full Standard Operating Guideline Manual | Springfield, MO
Katie Sigmond Hot Pics
Free Personals Like Craigslist Nh
Anonib Oviedo
Rgb Bird Flop
Bfri Forum
Gideon Nicole Riddley Read Online Free
Haley Gifts :: Stardew Valley
John F Slater Funeral Home Brentwood
Acadis Portal Missouri
Tirage Rapid Georgia
The Transformation Of Vanessa Ray From Childhood To Blue Bloods - Looper
Ksu Sturgis Library
Pepsi Collaboration
Atlanta Musicians Craigslist
Miracle Shoes Ff6
Emily Tosta Butt
Craigslist Odessa Midland Texas
Sarahbustani Boobs
Courses In Touch
Craigslist Com St Cloud Mn
Iupui Course Search
Interminable Rooms
3500 Orchard Place
Gonzalo Lira Net Worth
Abigail Cordova Murder
Game Like Tales Of Androgyny
Nfhs Network On Direct Tv
Ocean County Mugshots
Anthony Weary Obituary Erie Pa
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.