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. And see here for current known issues.

Highlighted
New Member

Problem with logging discriminator not working

I have a switch in which I am attempting to get a logging discriminator to work but it doesn't appear to want to do so.

Reading through this documentation:

http://www.cisco.com/c/en/us/td/docs/ios/12_4t/12_4t11/htnmsylg.html#wp1056391

and searching the forums and finding this discussion:

https://supportforums.cisco.com/discussion/11886931/do-not-show-useless-loggingsuch-dai-too-much

 

I thought I had it right but it's not looking that way.

 

Here is the code I am using:

logging discriminator dropsec mnemonics drop SEC-6-IPACCESSLOGP

logging discriminator incsec mnemonics include SEC-6-IPACCESSLOGP

logging buffer discriminator dropsec

logging monitor discriminator incsec

 

Yet the messages are still showing up in the logging buffer.  What I am attempting to filter here is logged messages from an ACL Log statement. 

Any help would be greatly appreciated.

Everyone's tags (2)
1 REPLY
New Member

I had issues getting the

I had issues getting the logging discriminator to work until I added the "includes" section such as below:

 

logging discriminator LINKLOGS severity includes 0,1,2,3,4,5 facility drops LINK|LINEPROTO mnemonics drops UPDOWN
logging trap notifications
logging origin-id hostname
logging host <ip-of-syslog> discriminator LINKLOGS

 

We use the above to ignore all of the link/lineproto up/down syslog notifications from access layer switches.

Hope that helps!

 

 

459
Views
0
Helpful
1
Replies
CreatePlease login to create content