cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
797
Views
0
Helpful
2
Replies

IP SLA Route Tracking

goulin
Level 1
Level 1

Hi All,

I have setup IP SLA Route Tracking to monitor the reachability of a host via 2 links, so when 1 link fails, the route is removed and traffic is routed via the other link.

I wanted to know if there was a way to actually stop the failback from occuring (eg if link 1 is my primary link and it fails, then link 2 will stay my primary until it fails, then it will fail over to link 1 etc).

Our IGP is OSPF. I am redistributing a static route into OSPF with a higher cost from link 2, although I may need to change that to get the above solution working.

Thanks,

goulin

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Goulin,

so you are using reliable static routing with object tracking:

you have a primary path and a secondary path.

The local router is able to switchover to secondary path when primary path IP SLA test fails but when the IP SLA test provides again positive results you don't see the router to switch back to older primary path until the secondary fails?

In addition to this you are redistributing the static route(s) into OSPF.

IF the static route has a next-hop = link2 you see an higher seed metric.

I would suggest to post a filtered version of your configuration about the static routes the IP SLAs and OSPF.

A useful debug command can be

debug ip routing

that accepts an ACL as a parameter so you can define a filter use an ACL that specifies the IP network of the two static routes.

Hope to help

Giuseppe

Hi Giuseppe,

Thanks for your response. Just to clarify. I have 2 routers performing IP SLA, that are both injecting the same routes into OSPF. My primary router inserts the route into OSPF with a cost of 1. My secondary router inserts the route into OSPF with a much higher cost.

When the primary path fails, the primary router removes the route, and the route via the secondary router is preferred.

What I am trying to achieve is when the route fails over from the primary to secondary router, I want the secondary to remain the primary path, even if the route via the primary router comes back up.

Then... if the primary route (i.e. the route from the secondary router fails), I want it to fail over to the primary router.

I hope that makes sense.

Thanks,

goulin

Review Cisco Networking products for a $25 gift card