- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2013 05:48 AM - edited 03-04-2019 09:51 PM
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
Solved! Go to Solution.
- Labels:
-
Other Routing
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2013 09:06 AM
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
ip route 0.0.0.0 0.0.0.0
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2013 09:06 AM
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
ip route 0.0.0.0 0.0.0.0
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2013 08:36 AM
This works perfectly! Thank You!
