06-05-2015 04:50 AM - edited 03-08-2019 12:25 AM
Hello All,
Do i required preempt command on both router ( Active and Standby Router. )
Thanks
Ayush
06-05-2015 05:43 AM
Hello Ayush,
The Preempt command is only needed on the router that is the preferred active HSRP router.
If the active HSRP router A fails, the standby HSRP router B becomes the active. However when router A returns to service(without the preempt command), router B will continue to stay active even though router A has the higher priority.
The preempt command will force Router A to an active state after failure and router B would return to the standby state.
Hope this makes sense.
Please rate hepful posts.
Thanks.
06-05-2015 06:38 AM
Preempt should also be configured on the standby, see:
http://www.cisco.com/c/en/us/support/docs/ip/hot-standby-router-protocol-hsrp/9281-3.html#q6
...this allows the standby to become active when its priority value becomes the highest (as the result of a primary router decrement), not just in the situation that the holdtime expires.
cheers,
Seb.
06-05-2015 06:46 AM
Good point Seb,
I wasn't thinking of the scenario with an interface being tracked.
"The standby preempt command is needed in situations when you want an occurring state change of a tracked interface to cause a standby router to take over from the active router. "
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide