artofrf.com

Ali's Technology Blog

Menu
  • Home
  • Important Links
  • About Me
  • Tools and Scripts
Menu

Basics of HSRP on a Cisco Router

Posted on December 8, 2013December 16, 2019 by mali

Basic configuration steps for HSRP (Hot Standby Router Protocol)

In this post I am going to go over some HSRP – Hot Standby Router Protocol options and basic configuration steps. HSRP – Hot Standby Router Protocol in simple terms makes two Cisco routers with two different IP addresses look like one. You would need at least three (3) IP addresses to configure HSRP – Hot Standby Router Protocol. Each Cisco router will get an IP address and one IP address will be the virtual IP.

So lets take a look at the list of steps for configuring HSRP – Hot Standby Router Protocol. I am going to use Cisco 800 series router for this example. It has a total of 5 interfaces, 1 X WAN (fa4), 3 X LAN (fa0, fa1, fa2, fa3):

  • Console into the router and switch to the “global exec” mode
  • First type “enable” and then “conf t”
  • Now you need to go to the interface configuration to finish rest of the HSRP setup

Router 1:
conf t
interface fa4
ip address 192.168.1.2 255.255.255.0
standby 1 ip 192.168.1.1 (This sets up the Virtual IP address)
standby version 2 (This will enable HSRP Version 2 not required)
standby 1 timers 15 30 (This specifies the Hello and router status timers)
standby 1 priority 100 (This specifies the priority of the router)
standby 1 preempt delay sync 30 (This will make the higher priority router active with a delay)
standby 1 track fastethernet4 (This will track the interface, in this case “fa4”)
—————————————————————————————————
Router 2
conf t
interface fa4
ip address 192.168.1.3 255.255.255.0
standby 1 ip 192.168.1.1 (This sets up the Virtual IP address)
standby version 2 (This will enable HSRP Version 2 not required)
standby 1 timers 15 30 (This specifies the Hello and router status timers)
standby 1 priority 100 (This specifies the priority of the router)
standby 1 preempt delay sync 30 (This will make the higher priority router active with a delay)
standby 1 track fastethernet4 (This will track the interface, in this case “fa4”)

Now you have both Cisco Routers configured for HSRP – Hot Standby Router Protocol. Next I would like to talk a little bit more about some command line options that I mentioned above to give a general idea of what they do:

Standby IP: This is the virtual IP address that all clients can use as their gateway.
Standby group#: You can create multiple groups of HSRP routers. One router can be an active router for one group and it can be a standby for another.
Standby Priority: This specifies the priority of each router in the standby configuration. Higher priority router will be the active router. If no priority is defined router with the highest IP address will be come the active router. Default Priority is 100 i.e; if you do not define it.
Preempt: This setting makes the router with the highest priority take over and become an active router.
Preempt Delay: Preempt delay setting is optional but you do want to fine tune it because of STP make sure that STP has time to converge on the switch and also that the standby router can populate the routes in its database.

Category: Cisco Routing

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Nile Secure Guest – Configuration and Use Case
  • WLAN Pros Toolbox
  • Nile does NAC – Configuring Trust Engine
  • WLAN Validator
  • PCAP I/O Graph Analyzer

Tags

AirDrop arista Arista AGNI Arista CV-CUE Arista NAC Arista WIPS Arista WPA3 UPSK Aruba Central Automating Mist Switch Templates Automation AWDL Configuring Switch Templates in Mist CWAP 403 EAP Format MAC Addresses Hamina Network Planner Juniper SRX300 MacBook Marvis mdns MFD8 MFD9 Mist Access Assurance MistAI Mist Auto Placement Mist MPSK Mist Wireless NaaS Networking Field Day NFD32 NileNav Nile Secure Nile Wi-Fi Social Channels Tech Field Day Troubleshooting with Marvis Troubleshooting with Mist Troubleshooting with Mist AI Troubleshooting with Wireshark Wireless Adjuster Wireless Adjuster Level II Wireless troubleshooting WLPC wlpc2023 Wyebot

Tech Blogs

  • WiFiTodd
  • CCNA Wireless
  • Cisco Full Bars
  • Packet Life
  • Havilandweb
  • Gjermund Raaen
  • Bad-Fi
  • The ASCII Construct
  • Juniper Port Checker
  • WiFrizzy
  • Spectrum Chart
  • BadgerWiFi

Recent Comments

  • Hiten Thakkar on PCAP I/O Graph Analyzer
  • mali on Deploying Nile Secure – My First NSB
  • Larry Farrish on Deploying Nile Secure – My First NSB
  • Courtney on Mist Access Point – CSV
  • ayoub chabrouk on Ubiquiti stealing the show at MFD11

Archives

  • August 2026
  • July 2026
  • March 2026
  • February 2026
  • December 2025
  • November 2025
  • October 2025
  • August 2025
  • May 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • September 2023
  • August 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • November 2022
  • October 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • November 2018
  • October 2018
  • September 2018
  • May 2018
  • January 2018
  • December 2017
  • August 2017
  • January 2017
  • September 2014
  • December 2013
  • October 2013
  • May 2013
  • August 2012
  • July 2012

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Categories

  • AeroHive
  • Arista
  • Arista
  • Aruba
  • Aruba
  • Aruba Central
  • BYoD
  • Certifications
  • Cisco
  • Cisco
  • Cisco EEM Scripting
  • Cisco Routing
  • Cisco Security
  • Cisco VoIP
  • Cisco VPN
  • Cisco Wireless
  • Conferences and Meetings
  • Design
  • Ekahau
  • General
  • Hamina
  • IoT, IIoT, OT
  • Juniper Security
  • Juniper Switching
  • Juniper/Mist
  • Linux
  • Microsoft
  • Mist
  • Mist Wireless
  • Nile
  • Nile Secure
  • Nile Wi-Fi
  • Programming/Automation
  • Python
  • Ruckus
  • Ruckus Wireless
  • Ruckus/Brocade
  • Ruckus/Brocade Scripting
  • Ruckus/Brocade Switching
  • Secure Guest Service
  • Security
  • Switching
  • Tools
  • Troubleshooting
  • Trust Engine
  • Uncategorized
  • Windows
  • Wireless
  • Wireless
  • WLAN Tools
© 2026 artofrf.com | Powered by Minimalist Blog WordPress Theme