Tuesday, September 20, 2016


HSRP Operation

HSRP which stand for ‘Hot Standby Router Protocol” is considered to be a “First Hop Redundancy Protocol” or FHRP.
Notice here PC1 on Picture, it has an ip address of, and it has default gateway of, what is that default gateway. Well that default gateway is typically the ip address of a router. A Router that’s gonna get PC1 of its local subnet may be out of the internet, and that information that PC1 may have learned via DHCP. Do you see that default gateway that router could become a single point of failure? If that router went down suddenly, the PC is limited to communicating to its local subnet. It cannot go beyond its local subnet.                           
                        That’s where the FHRP like HSRP can help us out. HSRP is a Cisco Proprietary FHRP. That default gateway that the PC is pointing to is, But as we examined the IP addresses on these Multilayer switches. We don’t see

                 In multiplayer switch SW2 fast Ethernet 0/3 is a routed interface and its ip address is, fastEthernet 0/3 is also routed interface on multilayer switch SW3 and its ip address Who servicing packet that destined for, Notice on picture I got a Virtual Router.
This “Virtual or Phantom Router” is the Router that the PC is logically using, and HSRP allows one router which is currently SW2 to service the Active Router, and it’s gonna be able to service packets that are destined for and route them where they need to go.
                        We talk about FHRP, we typically referred to the devices that are running those protocol as router. But in Today Modern networks many time are default gateway to which our PC’s pointing are switches.
Those type of switches would be multilayers or Layer3 Switches.SW2 and SW3, they Multilayer Switch, they acting as Router.
                           Right now, if a packet is destined for this virtual ip address of, is gonna be handled by switch SW2. And we were to take a look that frame coming from that PC1, it’s not just destined for ip address of, also corresponding to mac-address. That’s the PC is learned via an ARP by sending out an Address Resolution Protocol query to say “Hey somebody tell me the mac-address for”, the PC learned that and it stored in that ARP Cache”.
                               So switch SW2 is not only acting like, it’s also acting if it has that mac-address that correspond to, and of course the main point of a FHRP is to make that first Hop that default gateway redundant.

Let’s say that something happens to switch SW2.It goes down, suddenly it’s no longer active Router.
              SW3 transition from its standby state into Active State.
It can start servicing packets that destined for, and not just that ip address. But the mac-address corresponding to that ip address. That’s the magic of HSRP
                            But the question comes up how that switch SW3 know that Switch SW2 is no longer available. Well with HSRP Hello Messages exchanged.
                               And the default time for that is every 3 seconds.
We gonna send a hello message, and if switch SW3 knowing that it was the Standby Router did not here from the Active Router for certain period of time called Hold Time.
it can conclude that switch SW2 is no longer available and switch SW3 then transition to the Active State. And it starts acting as that virtual Router and I said that the default hello interval was 3 seconds, and the hold timer by default is 10 seconds. We can change it manually if needed.
                Another Scenario, Let’s say that SW2 is up but the link between SW2 and internet goes down.
If that happens, can SW2 still send Hello Message to SW3.It sure can, and is result SW3 might remain in the standby state.
                        Well clearly SW2 is not is the best path to get off to our local subnet. Fortunately, HSRP has a feature called interface tracking.
                    It can monitor the state of an interface in this case It would be interface fastEthernet 0/1, and if that interface went down. HSRP could dynamically change the priority on that switch.
                     By default, the Router, the Multilayer switch that becomes the Active Router, is the router that has the highest “HSRP Priority” the default priority value is “100” and we can change it manually for became the “Active Router”.
                                With interface tracking we can have “if that interface goes down” then “decrement/reduce the priority by a certain value” in HSRP single group.
                          Let’s take step further, let’s imagine that SW2 reestablish connectivity with the internet, somebody goes in, they repaired that link, SW2 is back and action now. Is it going to regain its active role? Interestingly by default the answer in no. Even though that interfaces backup, even though the priority wins back to its original higher value. It still gonna be in the standby state. That’s the default behavior. That often not what we want to do however. A feature that allows us to overwrite the default behavior it’s called the “Preempt option”.
The “Preempt option” essentially says “that if this router, stop becoming Active Router and it has reason to become the active router again, maybe we rebooted it, may be link was repaired”. The preempt option say “I want to have my old job back, and it’s going to regain that Active Role”. It’s going to send a message over to Switch SW3 saying that “I am taking back control, I am becoming the Active Router again”.
                One another Scenario, we just said that if Switch SW2 lost physically connectivity with the internet, another word interface fast Ethernet 0/1 went down. Then it could decrement its Priority.
                  What if, its connection to the internet was compromised but not because that interface went down, may be the ISP which it was connected had issue, may be the metric to get to a particular route became less desirable? We can do use a feature called “Enhanced Object Tracking”.
We can get really advanced with “Object Tracking”. We can say things like “if this route no longer appears in the Routing Table, then decrement the Priority”, or we can say “if the Metric gets me to this route, exceed the certain value then decrement the Priority”.
                  Now we talk about Theory of HSRP Operation. Join me our Next Topic and we gonna take a look in Configuration of HSRP.
If You Like the Post. Don’t forget to “Subscribe/Share/Comment”. Thank You.


  1. This blog is really awesome and i got more information about this HSRP operation and it is very explained with architecture pictures.

    Ccna Training in Chennai

  2. Excellent post!!! The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    ios training in chennai

  3. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

  4. Thanks for sharing amazing information !!!!!!
    Please keep up sharing.

  5. wow...nice blog, very helpful information. Thanks for sharing.

    Internet Of Things Services | Austere Technologies

  6. Great article, really very helpful content you made. Thank you, keep sharing.

    Mobilty Services | Austere Technologies

  7. Really great blog, it's very helpful and has great knowledgeable information. Thanks for sharing.

    Digital Transformation Services | Austere Technologies

  8. Very good informative article. Thanks for sharing such nice article, keep on up dating such good articles.

    Software Security Services | Austere Technologies

  9. Nice blog with excellent information. Thank you, keep sharing.

    Cloud Services | Austere Technologies


    Best Software Company | Austere Technologies

  11. I strongly believe that there will be great opportunities for those who looked into this area, would like to read this blog regularly to get more important stuff...
    Best Online Software Training Institute | Android Training

  12. Great article, really very helpful content you made. Thank you, keep sharing.

    No 1 Commerce College in Hyd | Avinash college of commerce

  13. This was an nice and amazing and the given contents were very useful and the precision has given here is good.
    AWS Training in Chennai

  14. Hi Thanks for the nice information its very useful to read your blog. We provide Software Development Services

  15. Hi Thanks for the nice information its very useful to read your blog. We provide best Block Chain Services

  16. Hi Thanks for the nice information its very useful to read your blog. We provide best SYSTEM INTEGRATION SERVICES

  17. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book Andaman Nicobar Tour Packages @ 11599

  18. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book Andaman Family Tour Packages @ 40999/-

  19. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book ANDAMAN TOUR PACKAGE@14599/

  20. Hi Thanks for the nice information its very useful to read your blog. We provide best Find All Isfs Courses

  21. Hi Thanks for the nice information its very useful to read your blog. We provide best Massil Technologies

  22. Hi Thanks for the nice information its very useful to read your blog. We provide best Certified Financial Analyst

  23. I am obliged to you for sharing this piece of information here and updating us with your resourceful guidance. Hope this might benefit many learners. Keep sharing this gainful articles and continue updating us.
    Android Training in Chennai
    Android training
    Android Course in Chennai
    Android Development Course in Chennai
    Android app Development Course in Chennai
    Android Training Institute in Chennai

  24. Thanks for sharing a valuable information to us. Thanks for your blog.
    CIMA training institute in Hyderabad | ISFS

  25. I am really enjoying reading your well written articles.
    It looks like you spend a lot of effort and time on your blog.
    I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
    Java Training in Bangalore
    Best Java Training Institutes in Bangalore
    Java Course in Bangalore
    Java Training Institutes in Bangalore
    hadoop course in bangalore
    best hadoop training institutes in bangalore
    best big data training in bangalore

  26. Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Best Travels in Madurai | Tours and Travels in Madurai | Madurai Travels

  27. Information from this blog is very useful for me, am very happy to read this blog Kindly visit us @ Luxury Watch Box | Shoe Box Manufacturer | Luxury Cosmetics Box

  28. Go with us on the online casino BGAOC and most likely let's win. perfect gambling websites Do not miss the gambling chance to become a great player.

  29. Wow.What a presentation man.Ur blog is rocking.Brilliant way of present ur view.Not only colourful adds beauty the way u have split and described provides complete meaning.
    oneplus service
    oneplus service centres in chennai
    oneplus service center velachery
    oneplus service center in vadapalani

  30. Hi, thank you very much for new information, i learned something new. Very well written.It was so good to read and usefull to improve knowledge.Keep posting. If you are looking for any big data hadoop related information please visit our website.
    big data hadoop training in bangalore.