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

    1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts.
      Network Security Projects for CSE

      JavaScript Training in Chennai

      Project Centers in Chennai

      JavaScript 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. Great article, really very helpful content you made. Thank you, keep sharing.

    Mobilty Services | Austere Technologies

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

    Digital Transformation Services | Austere Technologies

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

    Software Security Services | Austere Technologies

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

    Cloud Services | Austere Technologies

  9. 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

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

    No 1 Commerce College in Hyd | Avinash college of commerce

  11. 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

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

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

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

  15. 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

  16. 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/-

  17. 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/

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

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

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

  21. 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

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

  23. 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

  24. 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

  25. 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

  26. 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.

  27. 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

  28. 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.

  29. Thanks for sharing useful information. I learned something new from your bog. Its very interesting and informative. keep updating. If you are looking for any Data science related information, please visit our website Data Science training institute in bangalore

  30. keep up the good work. this is an Assam post. this to helpful, i have reading here all post. i am impressed. thank you. this is our digital marketing training center. This is an online certificate course
    digital marketing training in bangalore | https://www.excelr.com/digital-marketing-training-in-bangalore

  31. Good job! Fruitful article. I like this very much. It is very useful for my research. It shows your interest in this topic very well. I hope you will post some more information about the software. Please keep sharing!!
    SEO Training in Bangalore
    SEO Course in Bangalore
    SEO Training Institute in Bangalore
    Best SEO Training Institute in Bangalore
    SEO Training Bangalore
    SEO Training in Madurai
    SEO Training in Coimbatore
    SEO Course in Coimbatore
    SEO Training Courses in Coimbatore

  32. Good job! Fruitful article. I like this very much. It is very useful for my research. It shows your interest in this topic very well. I hope you will post some more information about the software. Please keep sharing!!
    SEO Training in Chennai
    SEO Course in Chennai
    SEO Training Institute in Chennai
    SEO Classes in Chennai
    Best SEO Training in Chennai

  33. I truly like this post..
    Thanks for sharing with us,
    We are again come on your website,
    Thanks and good day,
    If you need any logo then,
    Please visit our site,

  34. After reading this web site I am very satisfied simply because this site is providing comprehensive knowledge for you to audience.
    Thank you to the perform as well as discuss anything incredibly important in my opinion

    AWS training in chennai | AWS training in annanagar | AWS training in omr | AWS training in porur | AWS training in tambaram | AWS training in velachery

  35. more about the blog is good but if you was seen any other blog the content should be failed to fulfill the users requests on that field,but in this blog the content will fulfill the users who related to search this field.... good jobs
    Ai & Artificial Intelligence Course in Chennai
    PHP Training in Chennai
    Ethical Hacking Course in Chennai Blue Prism Training in Chennai
    UiPath Training in Chennai

  36. The development of artificial intelligence (AI) has propelled more programming architects, information scientists, and different experts to investigate the plausibility of a vocation in machine learning. Notwithstanding, a few newcomers will in general spotlight a lot on hypothesis and insufficient on commonsense application. machine learning projects for final year In case you will succeed, you have to begin building machine learning projects in the near future.

    Projects assist you with improving your applied ML skills rapidly while allowing you to investigate an intriguing point. Furthermore, you can include projects into your portfolio, making it simpler to get a vocation, discover cool profession openings, and Final Year Project Centers in Chennai even arrange a more significant compensation.

    Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account.