Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ip sla routing question


I have this route on router:

Ip route  x.x.x.x  track 101

Track 1 >>  a.b.c.d

When track 1 is down, X.x.x.x ip address should be y.y.y.y


ip sla routing question

Hi Muhammed,

Not understood your concern, however, let me share how track along with static route works.

Assume that you have 2 WAN connection with next hop IP address as A.A.A.A and X.X.X.X

so, if I don't want to load-share and just to use both of them as redundant connection, I will make a track statement which will track any one  of the connection.

Lets assume,

track 1 will track reachability of A.A.A.A

Hence, when A.A.A.A is not reachable track 1 will fail.

So I can have static route something as below:

ip route A.A.A.A track 1

ip route B.B.B.B 20

What above 2 statement will do is as far as A.A.A.A is reachable for track, that first statement will be in the routing table. As soon as i have lost reachability of A.A.A.A, it will be remove from routing table and the second statement with higher AD of 20 will get install in the routing table.

Now, when A.A.A.A is reachable for track again, then since that has lower AD ( default = 1), it will get install in routing table and second statement with higher AD will be removed from routing table.

Please rate if helpful.