cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
649
Views
0
Helpful
2
Replies

IP SLA (icmp) not resetting

joneswill
Level 1
Level 1

Hi

I  have two sla monitors setup (in lab at the moment) to ping two external  IP addresses.  If both the addresses fail to respond, I want to change  my default route to use 172.16.68.37.   If/when either of the  destination IP addresses come back up, I want the original default route  172.16.68.3 to be preferred instead.

Here is my relevant config:

ip sla monitor 1
type echo protocol ipIcmpEcho 195.155.0.1 source-interface FastEthernet0/0
frequency 10
ip sla monitor schedule 1 life forever start-time now


ip sla monitor 2
type echo protocol ipIcmpEcho 125.200.1.1 source-interface FastEthernet0/0
frequency 10
ip sla monitor schedule 2 life forever start-time now

track 1 rtr 1 reachability
delay down 30 up 30
!
track 2 rtr 2 reachability
delay down 30 up 30
!
track 3 list boolean and
object 1 not
object 2 not

ip route 0.0.0.0 0.0.0.0 172.16.68.37 track 3
ip route 0.0.0.0 0.0.0.0 172.16.68.3 50

Ok - so what happens?

If I take one of the external IP's down nothing changes = good

If I take both of the external IPs down, the existing default route is changed to use 172.16.68.3 = good

My  problem is - when one (or both) of the external IPs come back, the SLA  config appear not to detect this - an output of "show track" shows that  for both monitors, the reachability is down.

Any ideas what I'm doing wrong?

cheers

1 Accepted Solution

Accepted Solutions

mrdogantr
Level 1
Level 1

Hi,

     Can you try configuration below.

ip route 195.155.0.1 255.255.255.255 172.16.68.3

ip route 125.200.1.1 255.255.255.255 172.16.68.3

-

--

hope to help

Muammer

View solution in original post

2 Replies 2

mrdogantr
Level 1
Level 1

Hi,

     Can you try configuration below.

ip route 195.155.0.1 255.255.255.255 172.16.68.3

ip route 125.200.1.1 255.255.255.255 172.16.68.3

-

--

hope to help

Muammer

Hi

Thanks for this - yes this is now working thanks to the addition of the static routes.

cheers

Review Cisco Networking products for a $25 gift card