Why use HSRP version 2?
Not everyone knows that HSRP, a fault-tolerant default gateway protocol, has two versions: version 1 (the default) and version two. The second version was integrated from IOS Release 12.2(25)S.
HSRP Version 2 features:
- It advertises and learns millisecond timer values. This change ensures stability of the HSRP groups in all cases.
- It expands the group number range from 0 to 4095 and consequently uses a new MAC address range 0000.0C9F.F000 to 0000.0C9F.FFFF.
- It provides improved management and troubleshooting: the HSRP version 2 packet format includes a 6-byte identifier field that is used to uniquely identify the sender of the message. Typically, this field is populated with the interface MAC address.
- It uses the new IP multicast address 188.8.131.52 to send hello packets instead of the multicast address of 184.108.40.206, which is used by version 1. This new multicast address allows CGMP leave processing to be enabled at the same time as HSRP.
It’s really easy implement HSRP version 2; it is required to use only one command more than HSRP version 1: standby version 2. See below.
In this example, there are 3 routers connected to the local segment 192.168.0.0/24. These routers belong to the HSRP group number 1 and each physical interfaces have different ip address (192.168.0.11, 192.168.0.12, 192.168.0.13). The basic configuration is:
Ciscozine_1#conf t Ciscozine_1(config)#interface FastEthernet0/0 Ciscozine_1(config-if)#ip address 192.168.0.11 255.255.255.0 Ciscozine_1(config-if)#standby version 2 Ciscozine_1(config-if)#standby 1 ip 192.168.0.1
Ciscozine_2#conf t Ciscozine_2(config)#interface FastEthernet0/0 Ciscozine_2(config-if)#ip address 192.168.0.12 255.255.255.0 Ciscozine_2(config-if)#standby version 2 Ciscozine_2(config-if)#standby 1 ip 192.168.0.1
Ciscozine_3#conf t Ciscozine_3(config)#interface FastEthernet0/0 Ciscozine_3(config-if)#ip address 192.168.0.13 255.255.255.0 Ciscozine_3(config-if)#standby version 2 Ciscozine_3(config-if)#standby 1 ip 192.168.0.1
Remember: when you enable HSRP version 2, you can define the hello interval in milliseconds.
Router(config-if)#standby timers ? <1-254> Hello interval in seconds msec Specify hello interval in milliseconds
To display Hot Standby Router Protocol (HSRP) information, use the show standby command in privileged EXEC mode.
show standby [type number [group-number]] [active | init | listen | standby] [brief]
- type number: (Optional) Interface type and number for which output is displayed.
- group-number: (Optional) Group number on the interface for which output is displayed.
- active: (Optional) Displays HSRP groups in the active state.
- init: (Optional) Displays HSRP groups in the initial state.
- listen: (Optional) Displays HSRP groups in the listen or learn state.
- standby: (Optional) Displays HSRP groups in the standby or speak state.
- brief: (Optional) Summarizes each standby group as a single line of output.
Remember: HSRP version 2 will not interoperate with HSRP version 1. An interface cannot operate both version 1 and version 2 because both versions are mutually exclusive.
- IRS Releases First in a Series of Tax Security Tips: Original release date: November 27, 2015The Int... https://t.co/SGPRCkfLpE #security
- Millions of IoT Devices Using Same Hard-Coded CRYPTO Keys: Millions of embedded devices, including ho... https://t.co/dmT4Kfos8j #hackers
- Critical 'Port Fail' Vulnerability Reveals Real IP Addresses of VPN Users: A newly discovered flaw af... https://t.co/dt6ilaYw87 #hackers
Enter your email address to receive notifications of new posts.