HSRP Configuration on Cisco IOS

hsrp-topology

HSRP Configuration on Cisco IOS

In this section we will do an HSRP configuration to understand the issue better. To do this wewill use the below topology. At the end of this article, you will find the GNS3 configuration lab of this lesson.

redundancy protocols HSRP example (Hot Standby Router Protocol) topology, protocols for redundancy
 

HSRP Example Topology
 

Before the HSRP configuration, we must prepare our topology. WE will change the router names and we will assigned the ip addresses of the router interfaces.

For the left side of the topology, we will use 10.10.10.0 network and for the right side, we will use 10.10.20.0 network. All the interfaces connected to the layer 2 swicth will be assigned with the ip addresses related to its connected port. For example the fa0/0 interface of the Site1 router will be assigned the ip address 10.10.10.1 and the GW1’s and GW2’s fa0/0 ip addresses will be 10.10.10.2 and 10.10.10.3 orderly.

After interface configuration, we will configure a static route on each Site1 and Site2. In this static route we will use two virtual ip addresses that we will explain in this article. This virtual addresses will be 10.10.10.10 and 10.10.20.20.

Site1(config)# ip route 10.10.20.0 255.255.255.0 10.10.10.10 
Site2(config)# ip route 10.10.10.0 255.255.255.0 10.10.20.20

Now our configuration is ready to HSRP configuration. Let’s start on one side(left) on GW1 and GW2 and after that we will configure a second HSRP configuration for the other side(right).

GW1

GW1(config)# interface fastethernet 0/0 
GW1(config-if)# standby 1 ip 10.10.10.10 
GW1(config-if)# standby 1 preempt 
GW1(config-if)# standby 1 priority 110 
GW1(config-if)# standby 1 track fa0/1  
GW1(config-if)# exit 
GW1(config)# interface fastethernet 0/1 
GW1(config-if)# standby 1 ip 10.10.20.20 
GW1(config-if)# standby 1 preempt 
GW1(config-if)# exitGW2

We're Sorry!

Full Access is for only IPCisco Crew...

With IPCisco Membership, You Can Access:

• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Lesson tags: hsrp, Redundancy
Back to: CCNA > First Hop Redundancy

CCNA