I want to create redundancy between two ISPs, my design is that I have two routers connected to different ISPs and both are connected to a L2 switch. now i m running HSRP between these routers . I have also implemented SLA on routers. following is the conf for SLA :
ip sla monitor 2
type echo protocol ipIcmpEcho X.X.X.X
ip sla monitor schedule 2 life forever start-time now
track 2 rtr 2 reachability
delay down 1 up 1
int gi 0/0
standby 10 ip 10.88.0.226
standby 10 timers 5 15
standby 10 priority 110
standby 10 preempt
standby 10 track 2
Now the issue is that I am unable to create redundancy between routers ,even i tried with manually by admin shut down the int. So plz help to sort out the issue.
Roger pointed out the root cause very well and I want to add one more tip.
I assume you have R1 with hsrp priority 110 and R2 with hsrp priority 100.
When R1's ip sla failed, R1's hsrp priority changed from 110 to 100 as Roger explained.
Now, both R1 and R2 has same hsrp priority 100 and high ip address router becomes a activer router.
If R1's address is higher than R2. (Physical interface IP address), then R1 is still a active router.
You should change R1's hsrp priority to 105, so R1's hsrp priority will be 95 when IP SLA failed and it is lower than R2's 100.