Configure Logging Synchronous on Cisco Console to Minimize Logging Interruptions

Logging Synchronous on Cisco Router/Switch

When you are working on the Cisco Router or Catalyst Switch console, sometimes it will display the messages even you were typing commands. It would be annoying to have the console or telnet logs to pop in between your commands. This can be even more irritating when it is busy Switch or a Router displaying messages continuously.

You can use logging synchronous command under the console or vty line configuration mode to minimize this. Router still displays its messages but will redisplay the command you were typing on the line when it’s done. You can also turn off logging messages completely by using the command no logging console under global configuration mode. Note: This may cause you to miss some important messages from the Router. You can modify this command by specifying the severity level of the message you want to turn off.

Configure  Logging Synchronous on Cisco Console Port:

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

Configure Logging Synchronous on Cisco Auxiliary Port:

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

Configure Logging Synchronous on Line VTY Port (Telnet or  SSH):

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

Cisco Logging Synchronous Configuration Example:

Router(config)#^Z
Router#cop
00:07:31: %SYS-5-CONFIG_I: Configured from console by console
% Incomplete command.
Router(config)#line con 0
Router(config-line)#logging synchronous
Router(config-line)#^Z
Router#cop
00:08:39: %SYS-5-CONFIG_I: Configured from console by console
Router#cop ! router retyped this

Filed Under: Cisco General

Tags:

About the Author:

RSSComments (3)

Leave a Reply | Trackback URL

  1. Clark says:

    Its very simple to configure,

    config t
    line console 0
    logging synchronous

    thanks a lot….

  2. Sam says:

    I understand logging synchronous configuration steps, thanks for sharing.

  3. Nishant says:

    I am very impressed by your posts, I am cuternrly working in large TELCO as NOC and have my CCNA, would like to know if you can give me some guideline of how to gain more hands-on experiences and become one of you in the future.Thank YouWendy

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.