11-09-2013 08:20 AM - edited 03-07-2019 04:30 PM
Hello,
Can I use following command to setup HSRP Active/Standby mode for both router ?
Router A:
ip address 10.10.228.202 255.255.255.248
standby 3 ip 10.10.228.201
standby 3 preempt
Router B:
ip address 10.10.228.203 255.255.255.248
standby 3 ip 10.10.228.201
standby 3 preempt
standby 3 track 1 decrement 10
standby 3 track 2 decrement 10
Thanks
11-09-2013 08:46 AM
Hi Wilson,
Basic HSRP Config:
RA(config)#interface ethernetxx
RA(config-if)#ip address 10.10.228.202
RA(config-if)#standby 3 ip 10.10.228.201
RA(config-if)#standby 3 priority 200
RA(config-if)#standby 3 preempt <-- Add this to force RA to return to active state after failure
RA(config-if)#standby 3 track 1 decrement 10
RB(config)#interface ethernetxx
RB(config-if)#ip address 10.10.228.203
RB(config-if)#standby 1 ip 10.10.228.201
RB(config-if)#standby 3 track 1 decrement 10
Here is the example:
http://www.pearsonitcertification.com/articles/article.aspx?p=2141271
Regards
11-09-2013 09:38 AM
Wilson,
we don't know what objects you're tracking, so it's a little bit difficult to answer the question.
You use the default priorities on both routers (100), so, as long as track objects 1 and 2 are up, Router B will be the active router, because it has the higher IP address.
If track object 1 or 2 goes down, Router B's priority will be reduced to 90 (or 80 if both are down at the same time), so Router A will become active, because preemption is enabled.
If the track object(s) change to up, Router B will take over again, because it also has preemtion enabled.
Correction:
Preemption only comes into play when the local priority is higher than the priority of the current active router. In your examle, the priorities on RA and RB have the same values. The IP addresses serve as a tie breaker only in the initial phase, the preemption feature doesn't consider the IP addresses later on.
Consequence: Router A continues beeing the active router.
HTH
Rolf
11-09-2013 06:02 PM
Hello,
The config files was gave by my colleague and we can't go into this rwo routers. Those both routers has 3 interface g0/0, g0/1 and s0/0 that connecting to IPLC frame-relay, how can I know what interface it tracking ?
Is it mean this settings is router B is active and router A is standby router, right ?
Thanks
11-09-2013 11:48 PM
If the track objects are both up when HSRP initializes, router B will be active (higher IP address) and router B the standby router.
If one of the track objects go down, router A will take over and even if the track objects change to up again, router A will still be the active router (now both have the same priority, so there is no preemtion). If you want to let router B take over again in such an event, you should change the priority on one of the routers, e.g. on router A to 95 or on router B to 105.
Sent from Cisco Technical Support Android App
11-11-2013 06:42 AM
OK, thanks.
11-17-2013 08:06 AM
Hi all,
If want to setup active/active mode, how to do that ?
Thanks
11-17-2013 09:25 AM
Hi,
the only way I know is MHSRP (Multigroup HSRP); you configure 2 different standby-groups with 2 different vIPs, one active and the other one standby on the first router and vice versa on the second. The 2 different vIPs are used as the default-gateways for two different groups of hosts.
Document: Load Sharing with HSRP
HTH
Rolf
11-17-2013 11:42 PM
You can setup and active active using GLBP, most cisco gear supports it, you can also setup the "load" between both wan links if you want
Here is the official docuentation. It is not more difficult than HSRP
kind regards
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