cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2133
Views
15
Helpful
3
Replies

Suppress Syslog msg in 3725

Rasika Nayanajith
VIP Mentor VIP Mentor
VIP Mentor

I have a Cisco 3725 router in my lab setup. It is having a faulty fan & every 30s below syslog message appear & fill up my logs.

Jul 26 11:19:38.637: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:20:08.639: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:20:38.640: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:21:08.642: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:21:38.644: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:22:08.646: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:22:38.647: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:23:08.649: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:23:38.650: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Jul 26 11:24:08.652: %FAN-3-FAN_FAILED: Fans had a rotation error reported.

Is there any way to suppress this log message (knowing I do not want to take any action about this failure) or not to generate a syslog for this particular faulty ? . Since I want to do debuging frequently do not see a way to get rid of this  by changing the logging  level.

Regards

Rasika

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
VIP Community Legend VIP Community Legend
VIP Community Legend

If your IOS is relatively recent, you can use the "logging discriminator" feaure in Embedded Syslog Manager.

Here is the Command Reference section covering that feature.

Here is an example I did on a switch that was reporting MAC flapping due to the behavior of a 3rd party firewall cluster that I couldn't modify:

logging discriminator FLAP severity drops 4 facility drops MACFLAP msg-body drops flapping

logging buffered discriminator FLAP 51200

logging console discriminator FLAP

logging monitor discriminator FLAP

View solution in original post

3 Replies 3

Marvin Rhoads
VIP Community Legend VIP Community Legend
VIP Community Legend

If your IOS is relatively recent, you can use the "logging discriminator" feaure in Embedded Syslog Manager.

Here is the Command Reference section covering that feature.

Here is an example I did on a switch that was reporting MAC flapping due to the behavior of a 3rd party firewall cluster that I couldn't modify:

logging discriminator FLAP severity drops 4 facility drops MACFLAP msg-body drops flapping

logging buffered discriminator FLAP 51200

logging console discriminator FLAP

logging monitor discriminator FLAP

Hi Marvin

Thank you very much for this,It worked.

I had 12.4 (15)T14 where this feature was available. As per command reference this has been added 12.4(11)T onwards.

Regards

Rasika

You're welcome. I'm glad it worked out for you. It is a handy command.

Thanks for the rating.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: