Overblog
Edit post Follow this blog Administration + Create my blog
Cisco & Cisco Network Hardware News and Technology

Tutorial of HSRP Basic Configuration

December 24 2012 , Written by Cisco & Cisco Router, Network Switch Published on #Cisco & Cisco Network

Let’s say that you have dual edge routers and you would like to provide some redundancy should one fail. You wouldn’t want to have to re-configure every device on your LAN to point to the other GW should the first one fail so this is where HSRP (Hot Standby Router Protocol) comes in handy. Here we will cover a basic HSRP configuration. Take a look at the following topology:

HSRP-Basic-Configuration.jpg

You will see that we have Router-A and Router-B adjacent to our LAN segment of 10.0.254.0/24.

 

Aside from the regular interface IP (.20 and .30 in this example) we will configure the HSRP virtual IP (.10) that both routers will have and which we will use as the GW for the devices on our LAN. We will also be tracking interface FastEthernet0/1 on both routers as this is our WAN connection and should it go down we want it to fail over to the other router. Following, is the relevant configuration for each router.

Router-A:

interface FastEthernet0/0

 ip address 10.0.254.20 255.255.255.0

 standby 1 ip 10.0.254.10

 standby 1 priority 105

 standby 1 preempt

 standby 1 track FastEthernet0/1

 

Router-B:

interface FastEthernet0/0

 ip address 10.0.254.30 255.255.255.0

 standby 1 ip 10.0.254.10

 standby 1 priority 100

 standby 1 preempt

 standby 1 track FastEthernet0/1

The lower priority on Router-B tells HSRP that Router-A should be active.

 

You should now be able to ping .10 on your LAN segment. Should you wish to manage each router you can connect to the physical address we assigned to the interface (.20 and .30).

 

We can verify its operation on each router and whether it is in active or standby mode with the ‘show standby brief’ command:

Router-A#show standby brief

                     P indicates configured to preempt.

                     |

Interface   Grp  Pri P State   Active          Standby         Virtual IP

Fa0/0       1    105 P Active  local           10.0.254.30     10.0.254.10

 

 

Router-B#show standby brief

                     P indicates configured to preempt.

                     |

Interface   Grp  Pri P State   Active          Standby         Virtual IP

Fa0/0       1    100 P Standby 10.0.254.20     local           10.0.254.10

 

More Related Reading:

How to Configure GLBP in Cisco IOS Routers?

Cisco First Hop Redundancy Protocols: HSRP, VRRP, GLBP

How to Configure GLBP?

To Know VRRP Basic Configuration

Share this post
Repost0
To be informed of the latest articles, subscribe:
Comment on this post
5
However inside public sciences analysis starting qualifications tips could unique blend in the reading evaluate element of the particular cardstock, standard historical past data mustn't be viewed as an alternative for your in depth critique not to mention functionality connected with important analysis novels.
Reply
O
Amazing concept! It makes so much sense! I can't wait to table this and get feedback. This might just turn our office around…
Reply
O
Great resource! Thanks for sharing
Reply
O
Great resource! Thanks for sharing
Reply