What is Cisco HSRP configuration?
What is Cisco HSRP configuration?
HSRP is Cisco’s standard method of providing high network availability by providing first-hop redundancy for IP hosts on an IEEE 802 LAN configured with a default gateway IP address. HSRP routes IP traffic without relying on the availability of any single router.
How do I find my HSRP configuration?
Showing HSRP State Information
- Problem. You want to see current HSRP information, such as which router is primary.
- Solution. To view the HSRP information, use the following EXEC command: Router2# show standby.
- Discussion.
How does Cisco HSRP work?
HSRP works by the exchange of multicast messages that advertise priority among the HSRP group. When the active router fails to send a hello message within a configurable period of time, the standby router with the highest priority becomes the active router.
What is HSRP virtual IP address?
Virtual IP : IP address from local subnet is assigned as default gateway to all local hosts in the network. Virtual MAC address : MAC address is generated automatically by HSRP. The first 24 bits will be default CISCO address (i.e. 0000.0c). The next 16 bits are HSRP ID (i.e. 07.ac).
What is HSRP group number?
An HSRP group can be assigned an arbitrary group number, from 0 to 255. If you configure HSRP groups on several VLAN interfaces, it can be handy to make the group number the same as the VLAN number. However, most Catalyst switches support only up to 16 unique HSRP group numbers.
Which command enables HSRP on a Cisco IOS device?
Related Commands
Command | Description |
---|---|
show hsrp | Displays HSRP information. |
How do I find my HSRP MAC address?
The HSRP virtual MAC address is 0000.0c07. ac00 + VLANID. For example, if defined on a subinterface with VLAN ID 20 (Hex 14), then it’s MAC is 0000.0c07.
How do I enable HSRP on my Cisco router?
Configure the IP addresses 172.16. 1.1/24 (R1) and 172.16. 2.1 (R2) on their Fa0/0 interfaces. Configure HSRP version 2 between R1 and R2 using the IP addresses 10.10….Table 3 – R2 Example Configuration.
1 | Enter privileged EXEC mode. | R2>enable |
---|---|---|
9 | Configure the HSRP virtual IP address. | R2(config-if)#standby ip 10.10.10.5 |
What are two purposes of HSRP?
It provides a continuous network connection when a router fails. It prevents a rogue switch from becoming the STP root. It enables an access port to immediately transition to the forwarding state.
What is the MAC address of HSRP?
HSRP version 1 utilizes the MAC address range from 0000.0C07. AC00 through 0000.0C07. ACFF (00 = Group 0, FF = Group 255), while HSRP version 2 utilizes the MAC address range from 0000.0C9F.
How many HSRP groups can you have?
The switch with a PFC or PFC 3 supports 256 unique HSRP group mappings, but the one with a PFC 2 supports only up to 16 unique groups.
How do you do load balancing in HSRP?
To achieve load balancing with this HSRP setup, half of the hosts in VLAN 100 must point to the first virtual address as their gateway – 10.1. 1.1. The other half must use the other virtual address as their gateway – 10.1. 1.254.