05-02-2017 07:04 AM
Hi
It's important for us to se if a trunk interface on ASR920 has Input Errors
How can we accomplish this with EEM script so that EEM detects Input Errors and send a SNMP Trapp to the SNMP Surveillance system?
For example int Te0/0/24-27
05-02-2017 02:02 PM
Take a look at this thread: https://supportforums.cisco.com/discussion/13284001/shut-down-interface-based-crc-errors . While that user wanted to shutdown an interface based on errors, you could simply call the snmp-trap action to send a trap.
05-02-2017 11:20 PM
I was this, but then this needs to be repeated 4 times if I have 4 interfaces.
05-03-2017 04:17 PM
Correct, you'd need to duplicate the applet for the four interfaces.
05-03-2017 05:35 AM
Is there a way to match interface description and do a action?
05-03-2017 04:19 PM
Not using this event detector. You would need to create a timer policy that looks at the output of "show int" for your interfaces, parse the description, and then generate the trap if the error counts are high enough. The problem with this is that you will have to create regular expressions to parse "show int" output as well as track the delta of interface errors yourself.
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