EEM script to track 2 routes and then trigger failover
We have MPLS network. We need to create EEM script to track 2 routes using icmp (in our BGP table) and if both are unavailable, then i need to shutdown BGP. I am new to EEM scripting and I could not find any document where I can track 2 routes using icmp.
Below is what i will use to shutdown bgp. What i need help with is how i can track 2 routes eg. 10.1.1.1 and 10.2.2.2 which i want to do continous ping and if BOTH of the pings fail, i want to trigger bgp shutdown.
Thank you for your reply. If I want the event applet to bring up the bgp neighbor only when both of the icmp (ping to both ip address) is good, then i think i will only need to change the correlate event e1 OR to AND correct?
Also how many pings will need to be dropped before the action is taken - is it 6?
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...