cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1041
Views
0
Helpful
3
Replies

syslog message and logging command

sarahr202
Level 5
Level 5

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.

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

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

View solution in original post

Reza Sharifi
Hall of Fame
Hall of Fame

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

View solution in original post

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

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

Reza Sharifi
Hall of Fame
Hall of Fame

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

thanks Reza

Review Cisco Networking for a $25 gift card