IP SLA Failover problems

Posted on 2010-11-24
Last Modified: 2012-06-21

we have 2 internet lines,
The main line is a satellite and the backup line is (2xT1)
I am trying to configure IP SLA so if the main line is down it will switch to the backup automatically.
i tried the attached code:

ip sla 1

icmp-echo source-ip (main interface)

frequency 5

timeout 1000

threshold 250

ip sla schedule 1 life forever start-time now


ip sla 2

icmp-echo source-ip (main interface)

timeout 1000

threshold 250

ip sla schedule 2 life forever start-time after 00:00:30


track 1 rtr 1 reachability

track 2 rtr 2 reachability


track 3 list boolean or     

object 1

object 2


ip route (main interface)track 3

ip route (backup interface)100

ip route (main interface) permanent

ip route (main interface) permanent


event manager applet Main-line-down

event track 3 state down

action 1.1 cli command "en"

action 1.2 cli command "conf t"

action 1.3 cli command "int g0/0"

action 1.4 cli command "shut"

Open in new window

it works great however both conditions object 1 and 2 are failing several times a day and the backup connects. The main line is not really down, and if you run "sh track ..."  the reason code for beign down is time out.

I would appreciate the advice


Question by:Yucel Altingoz
  • 3
LVL 79

Expert Comment

ID: 34210131
The route statements are confusing to me.
are you using next-hop ip addresses, or interface names for the route?


Author Comment

by:Yucel Altingoz
ID: 34210141
I'm using next hop ip addresses

Accepted Solution

Yucel Altingoz earned 0 total points
ID: 34876795
no solution was provided

Author Closing Comment

by:Yucel Altingoz
ID: 34904907
No solution was provided

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS on-premise and on-cloud 15 118
MPLS VRF bridging 4 55
Website Routing Issue 3 49
Cisco RV 130 - No internet on wired connections, wireless clients ok 32 21
While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now