Kole's Networking Journey

HSRP Lab

In todays lab I will be setting up Host Standby Router Protocol in a simple network. I have set up a basic network where I will set up HSRP on the two multi-layer switches.

HSRP is enabled by issuing the standby instance-id ip VIP-address command.

There are a few additional thing we can configure for HSRP to help it operate smoothly, priority and preempt. The priority value affects the likelihood the router will become the active router. The preempt command is a feature allows a standby router to take over as the active router should the active router fail. I will now enable both these features on the router.

First, we can set the priority with the standby id prioritypriority-value command. For now I will set the value to 100:

To enable preemption I can issue the standby instance preempt command:

I will repeat theses command for the other multilayer switch to establish an active-standby relationship. Since I am using 2 different VLANs in this network, I will have to set up an HSRP instance for each on the switches.

Once everything has been configured we can check the status with the show standby brief command:

It shows the output for both VLANs and lists the standby router. More detail such as priority and preemption status can be viewed with the show standby command:

MLS2 is now acticn as a standby for MLS1 and will take over should it go down. HSRP has been successfully implimented.

Created with © systeme.io