Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

VIP Purple

Suppress Syslog msg in 3725

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: Suppress Syslog msg in 3725

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

3 REPLIES
Hall of Fame Super Silver

Re: Suppress Syslog msg in 3725

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

VIP Purple

Re: Suppress Syslog msg in 3725

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

Hall of Fame Super Silver

Suppress Syslog msg in 3725

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

Thanks for the rating.

657
Views
5
Helpful
3
Replies