cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
796
Views
15
Helpful
5
Replies

IP SLA Tracking Question

ittechk4u1
Level 4
Level 4

Hello Experts,

i want a route fail-over via three ways...

1. 172.30.64.1 must go via 172.24.18.6 if its available

2. if 1st not available then via 2nd route: 10.15.98.56.....

3. if 1st and 2nd route not available then via 3rd route: 10.15.98.50.

 

My config:

 

ip route 172.30.64.1 255.255.255.255 172.24.18.6 track 4
ip route 172.30.64.1 255.255.255.255 10.15.98.56 name Server track 6
ip route 172.30.64.1 255.255.255.255 10.15.98.50 name Server

 

Is it correct or not? if not then please provide me the correct version!!

Thanks

1 Accepted Solution

Accepted Solutions

Hello,

 

I did some testing, and this is what I have come up with (I have changed the SLA numbering for clarity):

 

track 1 ip sla 1 reachability
!
track 2 ip sla 2 reachability
!
ip sla 1
icmp-echo 172.24.56.2 source-interface GigabitEthernet0/2
threshold 300
timeout 1000
frequency 3
!
ip sla schedule 1 life forever start-time now
!
ip sla 2
icmp-echo 10.13.98.56 source-interface tunnel556
threshold 300
timeout 1000
frequency 3
!
ip sla schedule 2 life forever start-time now
!
ip route 172.31.64.1 255.255.255.255 172.24.56.2 track 1
ip route 172.31.64.1 255.255.255.255 10.13.98.56 10 track 2
ip route 172.31.64.1 255.255.255.255 10.13.98.50 20

View solution in original post

5 Replies 5

Hello,

 

you need to use boolean operators. Post the full config of your router so we can fill in the necessary bits and pieces...

Hello,

 

I did some testing, and this is what I have come up with (I have changed the SLA numbering for clarity):

 

track 1 ip sla 1 reachability
!
track 2 ip sla 2 reachability
!
ip sla 1
icmp-echo 172.24.56.2 source-interface GigabitEthernet0/2
threshold 300
timeout 1000
frequency 3
!
ip sla schedule 1 life forever start-time now
!
ip sla 2
icmp-echo 10.13.98.56 source-interface tunnel556
threshold 300
timeout 1000
frequency 3
!
ip sla schedule 2 life forever start-time now
!
ip route 172.31.64.1 255.255.255.255 172.24.56.2 track 1
ip route 172.31.64.1 255.255.255.255 10.13.98.56 10 track 2
ip route 172.31.64.1 255.255.255.255 10.13.98.50 20

is it working or did you test it in your LAB ?

 

Thanks in advance.

Tested in lab and working. However, check if it works in your live environment as well, to be sure...

Thanks, Its working.

Review Cisco Networking for a $25 gift card