05-22-2017 06:38 AM - edited 03-08-2019 10:40 AM
Hi !
Is there any way to force the HSRP election process ? I want to change the Standby router (A) to become Active. I am changing the priority value on B to 10 , but it is not falling over to Router B ?
Router A config
standby 1 ip 10.10.27.1
Router B config
standby 1 ip 10.10.27.1
standby 1 priority 120
standby 1 preempt
!
05-22-2017 06:49 AM
Hi,
Since the priority is higher and preemption is enable router-b should take over.
Can you post the output of "sh standby" and the HSRP interface running configs from both routers?
HTH
05-22-2017 06:51 AM
Hi,
Currently Router B is active and Router A is standby
I know priority is higher so what i am doing is i am configuring Router B as :
standby 1 priority 10
But it is not failing over to Router A ?
05-22-2017 06:53 AM
Is preemption enabled on router-A?
05-22-2017 06:54 AM
Nope...All standby configuration as shown above.
05-22-2017 06:55 AM
If you want to fail over to router-A, you need to have preemption enabled
05-22-2017 06:59 AM
Hi Reza !
Oops I know it wrong ? I know what preempt is ;
For example If for any reason router B is down and preemption is enabled on router B, router A becomes Active. And when router B is back, that becomes active again.
So what you say is that I need to enable Router A for both router all the time then ?
05-22-2017 07:04 AM
yes, you need preemption enbled
05-22-2017 12:22 PM
Hi
By default the priority is 100, (if you dont configure any priority it will set up 100). The active will be selected with the highest priority.
If you want router A as active, you should have someting like:
Router A
interface f0/0
ip address 10.10.27.2 255.255.255.248
standby 1 priority 125
standby 1 preempt
standby 1 ip 10.10.27.1
no shut
Router B
interface f0/0
ip address 10.10.27.3 255.255.255.248
standby 1 priority 120
standby 1 preempt
standby 1 ip 10.10.27.1
no shut
*Take in consideration that this network should be in communication in order to activated the HSRP, it could be through routing protocols.
Hope it is useful
:-)
05-22-2017 11:16 PM
Hi thanks but this is not what i really look for :) I am talking about in a live,production network. But anyway thanks !
05-23-2017 02:14 AM
Reza has given the answer ie. you need to enable preempt on router A.
Jon
05-23-2017 04:54 AM
That is correct, As Reza mentioned previously, if you configure preempt and highest priority (like 121 or more) Router A will be change the status to active. Remember this standby should has communication between them to work. In order to see the HSRP status you can execute:
show ip standby 1
I suggest change it during maintenance window and you can verify the proper functionability.
:-)
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