cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
272
Views
10
Helpful
6
Replies

VRRP timers learn - best practice?

vv0bbLeS
Level 3
Level 3

Hello all,

Because VRRP timers have to match on all the switches in the group, is it a best practice to configure vrrp timers learn on all VRRP switches in the group? Conversely, is there a scenario where vrrp timers learn would NOT be a good idea?

0xD2A6762E
4 Accepted Solutions

Accepted Solutions

Hello,

If you have several VRRP routers such as your primary/secondary and other backups then it probably wouldn’t hurt to use the learn command so you only have to configure on one device.

However I’m a fan of configuring the timers manually just because the “learn” fails for any reason. That’s just my preference.

-David

View solution in original post

M02@rt37
VIP
VIP

Hello @vv0bbLeS

In complement to David's answer, vrrp timer learn make troubleshooting harder, and in some design yes you don't want timers to adjust dynamically _ for example in highly controled HA environments where deterministic failover timing is required or when you want to guarantee convergence aligned with routing protocol timer.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

balaji.bandi
Hall of Fame
Hall of Fame

All routers in a VRRP group must use the same timer values. If the same timer values are not set, the routers in the VRRP group will not communicate with each other and any misconfigured router will change its state to master.

setting the correct timers to get optimal outcome to detect. 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

Hello
TBH- I dont think Cisco has any best practice stated for VRRP
Now obviously, you don’t have to set any hello timer for VRRP to work, it will default to 1 second.
However If you wish to change this default, then yes you can set it just on the master device and have the members in the group to learn automatically or as you mentioned manually set each device to the correct value.

Personally, I manually set each device in any of our FHRP deployments as in most cases we also have authentication & track/decrement/delay values manually set


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

6 Replies 6

Hello,

If you have several VRRP routers such as your primary/secondary and other backups then it probably wouldn’t hurt to use the learn command so you only have to configure on one device.

However I’m a fan of configuring the timers manually just because the “learn” fails for any reason. That’s just my preference.

-David

M02@rt37
VIP
VIP

Hello @vv0bbLeS

In complement to David's answer, vrrp timer learn make troubleshooting harder, and in some design yes you don't want timers to adjust dynamically _ for example in highly controled HA environments where deterministic failover timing is required or when you want to guarantee convergence aligned with routing protocol timer.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

balaji.bandi
Hall of Fame
Hall of Fame

All routers in a VRRP group must use the same timer values. If the same timer values are not set, the routers in the VRRP group will not communicate with each other and any misconfigured router will change its state to master.

setting the correct timers to get optimal outcome to detect. 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello
TBH- I dont think Cisco has any best practice stated for VRRP
Now obviously, you don’t have to set any hello timer for VRRP to work, it will default to 1 second.
However If you wish to change this default, then yes you can set it just on the master device and have the members in the group to learn automatically or as you mentioned manually set each device to the correct value.

Personally, I manually set each device in any of our FHRP deployments as in most cases we also have authentication & track/decrement/delay values manually set


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

vv0bbLeS
Level 3
Level 3

Excellent, that all makes sense! Thank you all!

0xD2A6762E

You're so welcome @vv0bbLeS 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.