09-22-2012 11:12 AM - edited 03-07-2019 09:02 AM
Hi everybody.
logging buffered 4096 warnings
The above causes router to log all the events with severity level 4 or below in buffer.
What about logging console warnings command?
will the above command cause router to send log messages with severity level 4( warnings severity level) to console only or will the router send all the log
messages with severity level 4 or below to console ?
thanks and have a great weekend.
Solved! Go to Solution.
09-22-2012 11:25 AM
Hi Sarah
Yes, it is up to that level:
The
logging console
command limits the logging messages displayed on the console terminal to messages up to and including the specified severity level, which is specified by the
level
argument.
HTH
Reza
09-22-2012 11:30 AM
Hi Sarah,
Here are the results for a switch
Switch(config)#logging console warnings
Switch(config)#do sh run | inc logging
logging console warnings
Switch(config)#logging console notifications
Switch(config)#do sh run | inc logging
logging console notifications
Switch(config)#
As you can see when the switch is configured with level-4 (warning) it only shows that and up to it. When it is changed to level 5 (notifications) than it only show notification and what ever under it.
HTH
Reza
09-22-2012 11:25 AM
Hi Sarah
Yes, it is up to that level:
The
logging console
command limits the logging messages displayed on the console terminal to messages up to and including the specified severity level, which is specified by the
level
argument.
HTH
Reza
09-22-2012 11:30 AM
Hi Sarah,
Here are the results for a switch
Switch(config)#logging console warnings
Switch(config)#do sh run | inc logging
logging console warnings
Switch(config)#logging console notifications
Switch(config)#do sh run | inc logging
logging console notifications
Switch(config)#
As you can see when the switch is configured with level-4 (warning) it only shows that and up to it. When it is changed to level 5 (notifications) than it only show notification and what ever under it.
HTH
Reza
09-22-2012 02:22 PM
thanks Reza
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide