Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Using IP SLA ICMP-Echo to track two objects?

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

Re: Using IP SLA ICMP-Echo to track two objects?

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 don't forget to rate any posts that have been helpful. Thanks.
2 REPLIES

Re: Using IP SLA ICMP-Echo to track two objects?

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 don't forget to rate any posts that have been helpful. Thanks.
New Member

Re: Using IP SLA ICMP-Echo to track two objects?

This works perfectly! Thank You!

579
Views
0
Helpful
2
Replies
CreatePlease to create content