05-02-2017 12:19 AM - edited 03-05-2019 08:27 AM
Hi,
We have a very specific requirement with IP SLA. Based on a tracking, we need to failover to alternate routing path and stay there forever untill some user intervenes to failback to original route.
Could you please advise the tweak for such setup.
Saif
05-02-2017 02:09 AM
Hi
you would want to use ip sla with a route map with the option of verify route reachability in place so it knows the next hop is valid before failing to new circuit or back
if you don't want it automatic just use a static route with higher AD with basic ip sla tracking
see this for example of auto fail back and forth
http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/861-cisco-router-pbr-ipsla-auto-redirect.html
05-02-2017 03:37 AM
We already have configuration that works perfectly fine along with automatic failback. We just want it not to failback automatically. Here is the working config:
track 151 ip sla 151 reachability
ip sla 151
icmp-echo 161.228.x.y
threshold 100
timeout 2000
frequency 4
ip sla schedule 151 life forever start-time now
ip route 152.63.0.0 255.255.0.0 192.168.20.45 track 151
ip route 0.0.0.0 0.0.0.0 192.168.20.2
If I increase the AD of the primary path, how would it work to begin with? Because of the higher AD, it would never be used , i guess.
05-02-2017 04:04 AM
you can make an EEM script to modify AD based on events from "track 151"
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