How to Stop Cisco Console Logging messages

When you logged into a Cisco Router, Switch and other Devices via console port using HyperTerminal or other emulator software, the console messages make you hard to see the show commands output and enter new commands for configuration.

Disable/Stop Cisco Console Logging Messages

There is a command to turn off the messages on the console session. Log on to your Cisco Router or Switch and go to Global configuration mode by entering configuration terminal then enter  no logging console command.

Cisco-Router(config)# no logging console

Configure Cisco Console Logging Message Levels

Cisco routers, switches, PIX and ASA firewalls prioritize log messages into 8 levels.

Level Level Name  Description

0  Emergencies    System is unusable
1  Alerts         Immediate action needed
2  Critical       Critical conditions
3  Errors         Error conditions
4  Warnings       Warning conditions
5  Notifications  Informational messages
6  Informational  Normal but significant conditions
7  Debugging      Debugging messages

 

You can limit the amount of messages sent to the console with the logging console level configuration command and find the available options with help command.

Cisco-Router(config)#logging console ?

  <0-7>          Logging severity level
  alerts         Immediate action needed           (severity=1)
  critical       Critical conditions               (severity=2)
  debugging      Debugging messages                (severity=7)
  emergencies    System is unusable                (severity=0)
  errors         Error conditions                  (severity=3)
  guaranteed     Guarantee console messages
  informational  Informational messages            (severity=6)
  notifications  Normal but significant conditions (severity=5)
  warnings       Warning conditions                (severity=4)
  xml            Enable logging in XML

Cisco-Router(config)#logging console

You can either specify the number or the name of the level. Here I have configured it to show me warning on the console.

Cisco-Router(config)#logging console warnings

You can configure the above command like Router(config)#logging console 4 also, You can do the configuration same for VTY terminals using logging monitor commad instead of logging console command in global configuration mode.

Configure Cisco VTY Logging message Levels

Cisco-Router(config)#logging monitor ?

  <0-7>          Logging severity level
  alerts         Immediate action needed           (severity=1)
  critical       Critical conditions               (severity=2)
  debugging      Debugging messages                (severity=7)
  emergencies    System is unusable                (severity=0)
  errors         Error conditions                  (severity=3)
  informational  Informational messages            (severity=6)
  notifications  Normal but significant conditions (severity=5)
  warnings       Warning conditions                (severity=4)
  xml            Enable logging in XML
Share/Bookmark

Filed Under: Cisco General

Tags:

About the Author:

RSSComments (0)

Trackback URL

Leave a Reply




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