Router 1:

From the Interface Configuration Mode add the IP Address of the Interface

hsrp-router1#conf t

hsrp-router1(config)# int fa0/0

hsrp-router1(config-if)# ip address

Set the Virtual IP Address

Sets the Virtual IP Address for the interface where “1” is the HSRP group and “” is the Virtual IP for the HSRP group.

hsrp-router1(config-if)# standby 1 ip

Enable Preempt

This is required to make the router from being a Standby Router to an Active Router when it finds the Active Router is down or if it has become the higher priority router in the group

hsrp-router1(config-if)# standby 1 preempt

Set Router Priority

The default priority is “100”. We set here as “110” to make the Router 1 as active.

hsrp-router1(config-if)# standby 1 priority 110

Set Authentication String

This is an optional plain text 8 character string that can be used in the multicast “hello” packets to authenticate the HSRP group.

hsrp-router1(config-if)# standby 1 authentication LocalLAN

Set Timers

Sets the time period between the “hello” packets and the hold time before assuming an active router is down. Default is 3seconds and 10 seconds respectively.

hsrp-router1(config-if)# standby 1 timers 5 15

Track Interface

If you track interface to check link status then the following command will track an interface and when the tracked link is down, the active router will mark its priority low so as to allow a Standby router to take over.

hsrp-router1(config-if)# standby 1 track se0/0

Repeat the procedure altering the IP Address of the Local interface and the priority and the tracked interface.

Router 2:

hsrp-router2#conf t

hsrp-router2(config)# int fa0/0

hsrp-router2(config-if)# ip address

hsrp-router2(config-if)# standby 1 ip

hsrp-router2(config-if)# standby 1 preempt

hsrp-router2(config-if)# standby 1 priority 100

hsrp-router2(config-if)# standby 1 authentication LocalLAN

hsrp-router2(config-if)# standby 1 timers 5 15

hsrp-router2(config-if)# standby 1 track se0/0

Thats it. HSRP configuration is complete. You may test the connectivity to a remote route and see for yourself the redudancy in place.


About ccie4all
Hello, and welcome to the first post of my CCIE blog This blog has got one simple goal and that is to improve our skills in Cisco Networking field so we can become best engineers on a job market. Wordpress Blog https://ccie4all.wordpress.com/ information about the changes made to Gns3 BGP , MPLS and R&S CCIE labs. In order to access and download all provided materials and receive important updates from Gns3 BGP , MPLS and R&S CCIE labs under GNS3 tab in the main header please go ahead and subscribe to https://ccie4all.wordpress.com/ ! All other posts have not been affected and can be accessed at any given time. Enjoy ! Tom

One Response to HSRP

  1. kumar says:

    The HSRP here u configured for only INBOUND traffic what about outbound. How the N1 will choose the Primary and secondary. Use any Routing Protocols- OSPF, EIGRP, BGP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: