Route My World!

A CCNA/CCNP Blog

Archive for February 20th, 2008

Exex-timout Command

Posted by Aragoen Celtdra on 20th February 2008

Here’s another useful one I like. When I’m connected to my switch or router while practicing a lab, sometimes when I turn my attention to a certain topic for quite a while and my telnet connection remain inactive for over 5 minutes, it will suddenly disconnect. To prevent that from happening:

Router(config)#line vty 0 4 – sets time limit on vty session 0 to 4
Router(config-line)#exec-timeout 0 0
0 minutes and 0 sec, telnet never logs off
Router(config-line)#

Posted in CCNA Notes, IOS Commands | No Comments » | Print This Post

Logging Synchronous

Posted by Aragoen Celtdra on 20th February 2008

Quite often when I’m trying to practice several commands on a router or a switch and all of a sudden, while in the middle of typing a command – a sh run after I changed an IP setting, for example – I get this syslog message on the console as I’m typing my next command. It is quite annoying sometimes.

Well it turns that these messages are there by default and cannot be turned off. However there is a way to make it so the messages don’t interrupt you while in the middle of typing something at the prompt. You can actually change the setting so that the message appears at a more convenient time. To do this you can use the logging sychronous command.

What is does is it will tell the router that if any informational items need to be displayed on the screen, your prompt and command line should be moved to a new line. This will prevent the message from being displayed in the middle of what you are typing.

Router(config)#line con 0
Router(config-line)#logging synchronous

Posted in CCNA Notes, IOS Commands | No Comments » | Print This Post

 

Route My World! is Digg proof thanks to caching by WP Super Cache