Problem with logging discriminator not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2014 01:27 PM - edited 03-07-2019 07:16 PM
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.
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2014 11:28 AM
I had issues getting the logging discriminator to work until I added the "includes" section such as below:
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!
