IP SLA preempt after a switchover

From: PhiL <theccie_at_gmail.com>
Date: Wed, 22 Dec 2010 14:35:26 -0500

Hi there,

I am trying to configure IP SLA to monitor an upstream IP and remove the
default route from the routing table so a floating static is inserted.
Everything is working fine but I wonder if there is a way of delaying for
several hours the re-insertion of the original default route once tracking
is reestablished. Right now as soon as the ping to the <upstream IP within
ISP1> is replied the route is reinserted.

This is my scenario:

ISP1 ------ R1 --------|
                            switch ------ userPC
ISP2 ------ R2 --------|

R1 config:
router eigrp 10
 redistribute static
 passive-interface FastEthernet0/1.1
 network 192.168.1.0
 network 192.168.2.0 0.0.0.3
 no auto-summary
!
ip route 0.0.0.0 0.0.0.0 <ISP1 next-hop IP> track 200
!
ip sla monitor 1
 type echo protocol ipIcmpEcho <upsteam IP within ISP1>
 request-data-size 64
 threshold 10000
ip sla monitor schedule 1 life forever start-time now ageout 1800
ip sla monitor 2
 type echo protocol ipIcmpEcho 10.1.1.1
!
track 200 rtr 1 reachability
!

R2 is also running EIGRP and has a default route with a worse metric than
R1's default route.

-- 
Regards,
PhiL
Blogs and organic groups at http://www.ccie.net
Received on Wed Dec 22 2010 - 14:35:26 ART

This archive was generated by hypermail 2.2.0 : Sat Jan 01 2011 - 09:37:49 ART