HSRP Version 2
Problem
You want to implement HSRP Version 2.
Solution
To enable HSRP Version 2, use the standby version 2 configuration command:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#interfaceRouter1(config-if)#FastEthernet0/1standby version 2Router1(config-if)#standby4095ipRouter1(config-if)#10.1.1.1standby4095timers msec15msecRouter1(config-if)#50standby4095priorityRouter1(config-if)#200standby4095preemptRouter1(config-if)#endRouter1#
You must also configure every router that participates in the same HSRP group with the same version number:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#interfaceRouter2(config-if)#FastEthernet0/0standby version 2Router2(config-if)#standby4095ipRouter2(config-if)#10.1.1.1standby4095timers msec15msecRouter2(config-if)#50standby4095priorityRouter2(config-if)#150standby4095preemptRouter2(config-if)#endRouter2#
Tip
Cisco added support for HSRP Version 2, beginning with IOS Version 12.3(4)T.
Discussion
Fortunately, all of the HSRP commands remain the same from Version 1, with one noticeable difference, the expanded HSRP group numbering range. As you recall from Recipe 22.1, HSRP Version 1 only supported 256 groups ranging from 0 to 255. One of the enhancements of HSRP Version 2 is the expanded group numbering, which ranges from 0 to 4,095. This enhancement allows you to match HSRP group numbers to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access