Writers' Community!
Home Page Two Columnists Q&A Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 8,188 Authors
71,865 Quality Articles
& 3,167 Current Users Online!
Featured Authors
Linda DeWitt (1,955)
Edward Rhymes (8,802)
Brianna Popsickle (2,452)
Teresa Ortiz (11,094)
Julian Price (13,305)
Stephany Springer (41,414)
Abigail Richards (9,854)
E. Raymond Rock (3,087)
Terry Mitchell (5,358)
Mark Parsec (16,695)
Nenita Wells (2,071)
Ira Coffin (12,696)
Krystal Kuehn (1,269)
Michael Ramzy (829)

View All Featured Authors
Most Recent
Finding The Right MCSA Course Uncovered

Where To Do Your Adobe Web Design Course Clarified

Microsoft SQL Computer Training Companies Described

Considering Cisco CCNA Retraining Insights

Home Based MCSE Training Explained

Adobe CS4 Design Training Around The UK - Thoughts

CompTIA Network Plus Support Training - Update

Careers Training for Adobe Web Design Insights

CompTIA A Plus Retraining Courses Revealed

Programming Careers Courses Examined

Home » Categories » Computers & Networking » Technical Certification » Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands » Printer Friendly

Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands

Rated 3 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Tuesday, October 16, 2007
Chris Bryant CCIE 12933 (13,762)
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


Throughout my CCENT and CCNA exam tutorials, you'll notice these two curious commands on the console port:

line con 0

exec-timeout 0 0

logging synchronous

I've been recommending these commands for years to CCNA and CCNP candidates putting their own home labs together, but they can come in handy on the job as well. Let's take these commands one at a time, starting with the logging synchronous command.

When the router wants you to know something, it wants you to know right now. If the router sends a message to the console while you're entering a config, by default the router will interrupt your work to show you that message.

In the following example, I opened a Serial interface, which will always result in at least two messages relating to the physical and logical state of the interface. I started typing a sentence immediately after I opened the interface to show you what happens. I've bolded the sentence I was entering.

R1(config)#int s0

R1(config-if)#no shut

R1(config-if)#^Z

R1#so here i am

4d04h: %SYS-5-CONFIG_I: Configured from console by consoletyp

4d04h: %LINK-3-UPDOWN: Interface Serial0, changed state to uping and

4d04h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to upi've been interrupted quite badly!

4d04h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down

This may seen trivial, but when you have a long command entry interrupted by a console message, you'll wonder how to prevent that from happening. (After you stop yelling at the router, that is.) By configuring the logging synchronous command on the console port, you're telling the router to hold such messages until it detects no input from the keyboard and no other output from the router, such as a show command's output.

R1(config)#line console 0

R1(config-line)#logging ?

synchronous Synchronized message output

The second command I always enter on the console port of a home lab router or switch is exec-timeout 0 0. This disables the default inactivity timeout of 5 minutes and 0 seconds. If you want to change that timer rather than disabling it, the first number represents the number of minutes in the inactivity timer and the second number is the number of seconds.

R1(config)#line con 0

R1(config-line)#exec-timeout ?

Timeout in minutes

R1(config-line)#exec-timeout 0 ?

Timeout in seconds

R1(config-line)#exec-timeout 0 0 (disables the inactivity timer)

This command can also be configured on the VTY lines to set or disable the inactivity timer for Telnet and SSH users. Here, we'll set the VTY line inactivity timer to 10 minutes.

R1(config)#line vty 0 4

R1(config-line)#exec-timeout ?

Timeout in minutes

R1(config-line)#exec-timeout 0 ?

Timeout in seconds

R1(config-line)#exec-timeout 10 ?

Timeout in seconds

R1(config-line)#exec-timeout 10 0

Some network admins hate these commands, and I personally don't like to disable my router's Telnet and SSH inactivity timers. They're great commands for your present or future home lab, and I also recommend you know them for your CCENT and CCNA exams!

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free Cisco CCNP, BSCI, and BCMSN training and CCNA 640-802 tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.

You can also visit his blog, which is updated several times daily with new Cisco certification articles, free tutorials, and daily CCNA / CCNP exam questions!

For a FREE copy of his latest e-books, “How To Pass The CCNA" and “How To Pass The CCNP", just visit the website! You can also get FREE CCNA and CCNP exam questions every day!

Pass your Cisco CCENT and CCNA 640-802 exam with The Bryant Advantage!




Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

This Article has been viewed 3,392 times.
Article added to SearchWarp.com on 10/16/2007 6:23:41 PM.
View other articles written by Chris Bryant CCIE 12933 (13,762)


If you found this article interesting, you may want to check out:

What was your most embarrassing moment?
If you could meet one person alive or dead who would that be and why?
Why did the arch angel Michael and the devil argue over the body of Moses? Why did satan even have any authority?
Cisco CCENT / CCNA Certification Exam Tutorial: Crossover, Straightthrough, and Rollover Cables
Cisco CCENT / CCNA Certification Exam : Troubleshooting WAN Connections
Cisco 640-802 CCNA And CCENT Certification: RAM, ROM, NVRAM, Flash, And The Boot Process
Cisco CCNA 640-802 / CCENT Certification Exam Training: The Configuration Register
Cisco CCNA 640-802 And CCENT Certification Exam Training: HDLC Configuration And Troubleshooting
Cisco CCNA 640-802 CCENT Exam Training: Frame Relay BECN, FECN, and DE
Cisco CCNA 640-802, CCENT, And CCNP Practice Exam Questions: HDLC, PPP, OSPF Routes, And More!

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco CCNA Certification Exam Tutorial: Route Summarization

Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands

Cisco CCNA Certification Exam Tutorial: Access List Troubleshooting

Cisco CCNA Certification: Static And Default Static Routes

Cisco CCNP / BCSI Exam Tutorial: Reviewing OSPF Route Redistribution

Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP

Cisco CCNA Exam Tutorial: Five OSPF Details You Must Know!

Cisco CCNA Certification: Showdown At The Transport Layer... TCP vs. UDP !

Cisco CCNA Certification: Everything You Need To Know About Telnet!

Viewed from Cache. Load Time: 0.016.

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Questions & Answers  |  Privacy  |  Mission / About
Copyright © 1999-2009 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company