Subscribe Subscribe | Subscribe Comments RSS
Subscribe in Bloglines

Add to netvibes
Add to Google Reader or Homepage

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

Console

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 Comments so far »

  1. by Boni, on April 26 2009 @ 12:07 pm

     

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

  2. by nehmaan, on January 30 2010 @ 11:26 am

     

    to configure the router via telnet you need to

    line vty 0 4
    password cisco
    login

    do this on both routers

    at the user prompt

    telnet 192.168.1.1

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: