How to Stop Cisco Console Logging messages
By admin on Dec 09, 2011 with Comments 0
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 unusable1 Alerts Immediate action needed2 Critical Critical conditions3 Errors Error conditions4 Warnings Warning conditions5 Notifications Informational messages6 Informational Normal but significant conditions7 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 XMLCisco-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 XMLRelated Articles........
Filed Under: Cisco General
About the Author:
