Apr 252008

Another beginner tip that can be useful!

When you work on the Cisco Router or Catalyst Switch console, it would be annoying to have the console or terminal (telnet/ssh) logs to pop in between your commands. This can be even more irritating when it is busy switch or a router spitting messages continuously.

We can log the messages to the console without interferring with your work in the console in Cisco IOS by logging synchronous.In Cisco IOS, logging synchronous can allow you to work along with the logs still logging to the console but without disturbing your work.
To do this


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

AUX Dial-in port

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

Remote Terminal Sessions (Telnet/SSH)

Router(config)# line vty 0 4
Router(config-line)# logging synchronous

if your switch/router has more ttys

Router(config)# line vty 5 15
Router(config-line)# logging synchronous

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

  2 Responses to “Logging Synchronous while working in Cisco Router/Switch Console”

  1. Thanks guys ur live savers. one more thing i just like to know how do you configure a router via telnet connection?

  2. to configure the router via telnet you need to

    line vty 0 4
    password cisco

    do this on both routers

    at the user prompt


 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>