EEM event timer cron on tracking event + tracking uptime
I have two applets I am using to track connectivity and add or remove an ICMP ACL to an interface based on the tracking state. On the "up" applet I have two correlated events, one for tracking and the other for a cron timer. Essentially I want to add the ACL when tracking goes down and then remove it at a specified time once the tracking comes back up. It is working, but I would like to add some logic that tells the SLA_TEST_UP applet to only run the actions at the specified cron time IF the tracking object has been up for <x> seconds to avoid bringing up an unstable path.
ip sla 99
icmp-echo 220.127.116.11 source-ip 10.10.1.1
tag "ICMP Monitoring to Internet - 1"
ip sla schedule 99 life forever start-time now
ip sla 100
icmp-echo 18.104.22.168 source-ip 10.20.1.1
tag "ICMP Monitoring to Internet - 2"
ip sla schedule 100 life forever start-time now
track 5 ip sla 99
track 10 ip sla 100
track 42 list boolean and
event manager applet SLA_TEST
event syslog pattern "TRACKING-5-STATE: 42 .* Up->Down" ! had to use this since it is a C3560X switch and EEM doesn't support tracking
This is achevable by providing two default static routes to internet. the first ISP should be tracked by the IPSLA. So it will be only in the routing table and will process. During the first track is coming down, it will flush from the routing table and switch to secondary route. Corresponding ACL also will work.
The following documents are reviewed on the Ask The Experts Session titled: Use Case Overview and Planning: Cisco DNA Center Project Planning.
Here you can find editable versions of the
Solution Requirements Document UCOP_CiscoDNACenterProjectPlann...
If so, we’d like to speak with you to understand you and your team’s process on how you monitor and troubleshoot network traffic.
We ask that you complete our brief survey: https://ciscoux.az1.qualtrics.com/jfe/form/SV_d4LYJ5oWqWj9CCy Based on your ...
Listen: https://smarturl.it/CCRS8E38 Follow us: twitter.com/CiscoChampionAdding learning capabilities to the internet will increase the overall network SLO and application experience. Real data driven experiments have shown that such an approach...
Listen: https://smarturl.it/CCRS8E37Follow us: twitter.com/ciscochampionSometimes, situations require temporary fixes. Sometimes, the network becomes an afterthought in overall office design and planning. In either situation, it may require netw...
In this special edition of the Insider Series, we hear from Cisco partners who have taken steps to be more eco-friendly and sustainable. We hear what inspires ASHRAE, Southwire, Igor, and NTT to create a workplace that is centered around people and how th...