02-27-2017 03:55 AM
Can you please tell me what I'm doing wrong here?
I'm trying to prevent lines that contain NOVALIDKEY --or-- INVALIDKEY from appearing in the logging buffer & terminal
I've tried:
logging discriminator OSPFERR msg-body drops NOVALIDKEY|INVALIDKEY
logging buffered discriminator OSPFERR 100000
logging monitor discriminator OSPFERR
And when I do a sh logging, see:
Syslog logging: enabled (0 messages dropped, 26 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
Active Message Discriminator:
OSPFERR msg-body drops _NOVALIDKEY_|_INVALIDKEY_
Feb 27 11:49:10: %OSPF-4-INVALIDKEY: Key ID 0 received on interface [redacted]
Feb 27 11:49:22: %OSPF-4-NOVALIDKEY: No valid authentication send key is [redacted]
We know what is causing the error, we just want to stop seeing it for now.
any thoughts on what I'm doing wrong are most welcome, thanks!
Solved! Go to Solution.
02-28-2017 12:27 AM
That is not the message body. I think you need something more like:
logging discriminator OSPFERR mnemonics drops NOVALIDKEY|INVALIDKEY
02-28-2017 12:27 AM
That is not the message body. I think you need something more like:
logging discriminator OSPFERR mnemonics drops NOVALIDKEY|INVALIDKEY
03-02-2017 02:44 AM
Thanks, that works a treat!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide