cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1291
Views
0
Helpful
1
Replies

Problem with logging discriminator not working

relia
Level 1
Level 1

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.

1 Reply 1

howe.bill
Level 1
Level 1

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!

 

 

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:

Review Cisco Networking products for a $25 gift card