cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1519
Views
8
Helpful
4
Replies

HSRP preempt !!

ima imtiger
Level 1
Level 1

Hi all,

Please can you tell me if the "preempt command" is mandatory only in the master router (higher priority) or in both master&standby ?

Thanks

ima

4 Replies 4

johnlloyd_13
Level 9
Level 9

hi ima,

you should configure preemption and tracking (standby track ) on both active and standby routers (master/backup is VRRP term) in order to achieve proper failover.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The    Author of this posting offers the information contained within this    posting without consideration and with the reader's understanding that    there's no implied or expressed suitability or fitness for any  purpose.   Information provided is for informational purposes only and  should not   be construed as rendering professional advice of any kind.  Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In    no event shall Author be liable for any damages whatsoever  (including,   without limitation, damages for loss of use, data or  profit) arising  out  of the use or inability to use the posting's  information even if  Author  has been advised of the possibility of such  damage.

Posting

Mandatory?  No, because it depends on how you're configured and what you're trying to accomplish.

If for example every gateway router has equal cost to all destinations, and your not using any type of tracking, i.e. you don't really care which is the actual gateway, no need to set preempt nor have different priorities.

If you prefer one gateway, such as one having a better outbound path, and you're not tracking interfaces, you would set it with a higher priority and also set it with preempt for it reclaim active gateway when it (the router) comes back on-line.

However if one router has better outbound path and you're tracking interface, you'll want to again set it to higher priority (with tracked interface up) and all gateway routers with preempt.  This so active gateway router has best current available path.

Even in the latter situation, everything will work without preempt, but not optimally.  You could have traffic start with the active gateway router and then need to be redirected to a peer/neighbor router.  This is why using preempt isn't really mandatory, but good practice.

Hi Ima,

The use of "Preempt" command in HSRP is when the active router fails, the router of next highest priority will become the active router.

However, without the preempt command on the “main” or primary router, that router will not resume it’s active status unless the engineer manually preempts the router.

I also recommend using a preempt timer. This will help prevent flapping between two routers if a link becomes unstable.


Please rate the helpful posts.
Regards,
Naidu.

thank you for your responses