cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5506
Views
5
Helpful
2
Replies

Using IP SLA ICMP-Echo to track two objects?

ztaylorITSEC
Level 1
Level 1

I am using IP SLA on a 1921 for failover purposes. The operation tracks an object via ICMP to verify that the interface/circuit is up. If the object becomes unreachable, it removes the static route with the track 1 statement and fals over to a back-up route/circuit. I would like to track a second object in the case that the first once becomes unreachable BEFORE failing over to the secondary circuit. As I understand, there may be a few different ways to accomplish this. Any suggestions and/or help would be greatly appreciated.

My current IP SLA config is as follows:

track 1 ip sla 1 reachability

ip sla auto discovery

ip sla 1

icmp-echo 198.6.1.4 source-interface GigabitEthernet0/0

frequency 5

ip sla schedule 1 life forever start-time now

ip route 0.0.0.0 0.0.0.0 <primary default gateway> track 1

ip route 0.0.0.0 0.0.0.0 <secondary default gateway> 240

ip route 198.6.1.4 255.255.255.255 <primary default gateway>

So basically I would like to add a second tracking object so that the track one statement is not removed unless both of the objects (servers) are unreachable.

Thanks,

Zach

1 Accepted Solution

Accepted Solutions

Hello

A track x list boolean or should do this.

track 3 list boolean or

object 1

object 2

ip sla 1

icmp-echo x.x.x.x source-interface x/x

frequency 5

ip sla schedule 1 life forever start-time now

ip sla 2

icmp-echo x.x.x.x source-interface x/x

frequency 5

ip sla schedule 1 life forever start-time now

track 1 ip sla 1 reachability

track 2 ip sla 2 reachability

ip route 0.0.0.0 0.0.0.0 track 3

ip route 0.0.0.0 0.0.0.0 240

ip route 198.6.1.4 255.255.255.255

Please note I've not had the chance to test this for you apologies in advanced but this should monitor the two tracked objects blinded by the Boolean and keep the tracked default static applied if either are active.

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

2 Replies 2

Hello

A track x list boolean or should do this.

track 3 list boolean or

object 1

object 2

ip sla 1

icmp-echo x.x.x.x source-interface x/x

frequency 5

ip sla schedule 1 life forever start-time now

ip sla 2

icmp-echo x.x.x.x source-interface x/x

frequency 5

ip sla schedule 1 life forever start-time now

track 1 ip sla 1 reachability

track 2 ip sla 2 reachability

ip route 0.0.0.0 0.0.0.0 track 3

ip route 0.0.0.0 0.0.0.0 240

ip route 198.6.1.4 255.255.255.255

Please note I've not had the chance to test this for you apologies in advanced but this should monitor the two tracked objects blinded by the Boolean and keep the tracked default static applied if either are active.

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

This works perfectly! Thank You!

Review Cisco Networking for a $25 gift card