ip sla - requiring two failed tests

Unanswered Question
Feb 24th, 2009

I would like to require ip sla (here http get test) to fail two tests in a row before being considered "down" (and triggering a route change). Is it possible to do this with IP SLA? I'm on 12.4 IOS. Thank-you.

-------current ip sla config------

track 113 rtr 3

ip sla 3

http get http://www.routeviews.org

ip sla schedule 3 life forever start-time now

ip route track 113

ip route 150

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
KAROLY KOHEGYI Fri, 03/20/2009 - 05:38


Good question!

Have a same problem with icmp-ech sla.

One fault is not fault!!!

Any idea ??

mmedwid Fri, 03/20/2009 - 10:21

I have found lots of information such as the URL below. But I have not been able to dial this in in my tests. It still winds up failing on a single ping loss. We use Speak Easy at some of our sites and they do not support BGP (or any routing protocol.) It would be so helpful to be able to fail traffic to our MPLS circuit if say 3 out of 5 pings are lost (and restore when better.) You can see in this doc the IP SLA understands "xofy". I just have not been able to put it all together so that "rtr x" fails based on the xofy pings. Of anyone gets this cookin' in their lab - please share the mojo!


azzu-supportservices Tue, 03/02/2010 - 07:21

This is what I have done, hope it helps someone.


track 1 interface FastEthernet0/0 line-protocol
track 10 rtr 10 reachability

interface FastEthernet0/1
standby 1 priority 110
standby 1 preempt
standby 1 track 1 decrement 30
standby 1 track 10 decrement 15

ip sla 10
icmp-echo ***next hop***
frequency 10
ip sla schedule 10 life forever start-time now

Secondary router has a priority of 90 so if line goes down it fails over straight away (track 1) but if ping fails (track 10) the priority only drops to 95 so primary stays up. If next ping fails, it drops to 80 and fails over, but if next ping OK then goes back to priority 110. So it requires two consequtive ping drops to fail.

KAROLY KOHEGYI Tue, 07/14/2009 - 09:10


Our solution for same problem is the following.

track 100 ip sla 1 reachability

delay down 70

ip sla 1


frequency 30

ip sla schedule 1 life forever start-time now

it is working well,



This Discussion