11-02-2011 01:18 AM - edited 03-04-2019 02:07 PM
Hi,i have a question regarding ip sla. I`m using redundancy between two providers using object tracking.
I want to track icmp echo to an ip but i want to switch to the backup ISP ONLY if the primary ISP is down for more than 3 minutes. (to avoid problems with NAT).
Any help is apreciated.
Thank you.
11-02-2011 01:36 AM
I think you can do the following. You have:
- a static route to ISP1 with administrative distance AD1. Let's call it route1.
- a static route to ISP2 with administrative distance AD2. Let's call it route2.
AD1 > AD2
The idea is to continually let the SLA ping network of route1. If route1 is unreachable, then the routing table will keep only route2.
try the following:
rtr 1
type echo protocol ipIcmpEcho {IP of ISP1}
timeout 180
frequency 1
rtr schedule 1 life forever start-time now
!
track 101 rtr 1 reachability
!
ip route xxxx xxxx xxxx track 101
11-02-2011 03:06 AM
how can we create delay of 10 sec when the route goes down and 0 sec when the link recovers
11-02-2011 03:07 AM
Arvind,
For the continuity of the discussion, please create another thread.
Wass
11-02-2011 06:46 AM
Thanks Wass. The key here was " timeout 180 "
Now it`s working fine.
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