07-26-2013 04:40 AM
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
Solved! Go to Solution.
07-26-2013 10:53 AM
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
07-26-2013 10:53 AM
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
07-26-2013 02:43 PM
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
07-26-2013 06:31 PM
You're welcome. I'm glad it worked out for you. It is a handy command.
Thanks for the rating.
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: