I have a series of routers that have local access to the Internet as well as a connection into an MPLS network.
The default route for Internet traffic is the local connection - I have an IP SLA Monitor hor HTTP set up to change the default route to the MPLS network if the sla monitor fails.
Two questions...
When failover occurs presumably the sla monitor will continue to operate but now via the default route over the MPLS network - How to cause the default route to fail back to the loacl connection when the local internet connection comes back up.
And 2... I would really like to get notified that the failiover has happened - how do I generate a syslog entry when the IP SLA monitor fails or when the default rout is modified.
My IOS config is...
ip sla monitor 600
type http operation get url http://www.cisco.com source-ipaddr 10.30.1.12
frequency 60
timeout 10000
ip sla monitor schedule 600 life forever start-time now
track 1 rtr 600 reachability
ip route 0.0.0.0 0.0.0.0 10.202.209.3 track 1 (the local Internet connection)
ip route 0.0.0.0 0.0.0.0 172.26.28.45 10 (The MPLS Connection)