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 18.104.22.168 source-interface FastEthernet0/0 frequency 10 ip sla monitor schedule 1 life forever start-time now
ip sla monitor 2 type echo protocol ipIcmpEcho 22.214.171.124 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.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.