cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
499
Views
0
Helpful
1
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 Reply 1

margalla
Cisco Employee
Cisco Employee

Have you configured PBR so the SLA probes take the path you are actually trying to test?

See Configuring the Routing Policy for Reliable Static Routing Backup Using Object Tracking

If not then the route to your external addresses follows whatever your current default route is and you don't want that.

Review Cisco Networking for a $25 gift card