Hot Standby Router Protocol – HSRP

What is HSRP ?

Hot Standby Router Protocol – HSRP is cisco proprietary protocol for network redundancy. This protocol use active-standby method to provide redundancy in network.

Today most of the company have Internet connectivity. Biggest problem with their network is redundancy of network devices. Below is picture which describe default network topology:-

Basic Network Topology |
Basic Network Topology |

In Default network topology we have 1 Internet Gateway Router (IGR), 1 Firewall for Security in Transparent or routed mode and 1 L3 switch for local Network Distribution. In case of any device (IGR, Firewall or L3 Switch ) gets down whole network will be down until and unless you don’t replace or reconfigure it again.

With help of HSRP you can deploy below redundant topology:-

Redundant Network Topology |
Redundant Network Topology |

Both Router and Switches are using HSRP for redundancy of network for Firewall it will be different protocol.

How HSRP Works?

HSRP use active standby method to get redundancy of network. Each router have one unique IP and 1 shared IP. That shared IP will be active on only one device and that device will be active device and other will be standby, HSRP keeps monitoring other device for failover if active device goes down then standby device make itself active and start using shared IP as active IP.

Selection of Active router works on my rules.

  1. By default first boot device become active
  2. In case of more then 2 HSRP enabled devices, if Active goes down then highest IP become active.
  3. We can manually define Active router by configuring priority of router with help of preempt.


HSRP can be configured on more then 2 device for more redundancy purpose. For this article I am using only 2 device.

Step 1:- First configure IP address on both devices (I am using 2 L3 switches for lab):-

S1(config-if)#interface f0/6
S1(config-if)#no switchport
S1(config-if)# ip address
S2(config-if)#interface f0/6
S2(config-if)#no switchport
S2(config-if)# ip address

Step 2:- Configure HSRP
Configure IP address which will be available for Active Device, (On both devices)

S1(config-if)#standby ip
S2(config-if)#standby ip

That’s it for HSRP, your hsrp is running on both devices now.. To check use below command:-

sh standby brief1


sh standby brief

In above result look for Virtual IP ( is same on both devices, but is active on S2 and standby on  S1.

Setting Priority:-

To configure Priority of device we need to configure priority on devices and then ask device to check priority with help of preempt.

To make S1 as Active we need to configure its priority high.

S1(config-if)#standby priority 15
S2(config-if)#standby priority 10

Now configure Preempt on both.

S1(config-if)#standby preempt
S2(config-if)#standby preempt

Now check the status of devices, S1 is active now.

That’t it for configuration…

Check this video for configuration example:-

Leave a Comment

Your email address will not be published. Required fields are marked *