cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6564
Views
5
Helpful
6
Replies

HSRP with 3 switches

abbas.ali
Level 1
Level 1

Can HSRP be configured between (3) Cisco switches.  Two of them are 4000 and one is 6500.

6 Replies 6

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hi Ali,

yes you can configure HSRP with different switches as HSRP is conifugred in per vlan basis, so if both the switches are having connectivity in same vlan they can run HSRP.

Check out the below link for HSRP configuration hope this helps out your query !!

http://www.ciscoblog.com/docstore/haiphsrp.pdf

Regards

Ganesh.H

Ganesh,

But can I do the following:

Configuring Vlan 10 for example in (3) Switches.

Switch 1:

Interface vlan 10

ip address 172.16.2.1 255.255.255.0

standby ip 172.16.2.1

standby priority 110

Switch 2:

Interface vlan 10

ip address 172.16.2.2 255.255.255.0

standby ip 172.16.2.1

standby priority 100

Switch 3:

Interface vlan 10

ip address 172.16.2.3 255.255.255.0

standby ip 172.16.2.1

standby priority 90

So, if switch 1 and 2 fail at the same time, the host can still send traffic via Switch 3.

If both switches are gone from the network then third one will assume to be active and will act as gateways for the Lan users.

Rather another set of configurtaion even without priroty you can achive that check the below config hope that helps out your query !!

R1#sh run interface fastethernet 0/0
Building configuration...

Current configuration : 123 bytes
!
interface FastEthernet0/0
ip address 192.168.0.11 255.255.255.0
standby 1 ip 192.168.0.1
end

R2#sh run interface fastethernet 0/0
Building configuration...

Current configuration : 123 bytes
!
interface FastEthernet0/0
ip address 192.168.0.12 255.255.255.0
standby 1 ip 192.168.0.1
end

R3#sh run interface fastethernet 0/0
Building configuration...

Current configuration : 123 bytes
!
interface FastEthernet0/0
ip address 192.168.0.13 255.255.255.0
standby 1 ip 192.168.0.1
end

The standby ip interface configuration command enables HSRP and establishes 192.168.0.1 as the IP address of the virtual router. The configurations of routers include this command so that the 3 routers share the same virtual IP address.

If the priority of the routers are the same, the active router (the router that forward the packets) will be the router with the highest ip address and the stanby router will be the router with the second highest IP address.

Regards

Ganesh.H

Hello Abbas,

this can be done.

L2 connectivity for the vlan in question is required

To be noted the third HSRP device will stay in listen state and only the Active and the standby will send out regular HSRP hellos.

If one between active or standby fails, the third device moves from listen to speak state and then to standby state.

In this way HSRP allows to use multiple routers per group without having all devices sending out HSRP hellos all the time.

HSRP hellos are sent to 224.0.0.2 all routers in subnet.

You may want to add some form of tracking, this may require a review of priorities assigned to each device.

Hope to help

Giuseppe

to add the nice comment from Giuseppe

you may need to consider preemption in your implementations to make sure that if the active HSRP device fail and then comes back again it takes the role as the active device in the group again

this can bee done by using the command preempt

thank you

if helpful Rate

Dear

In a HSRP scenario with 02 nodes, the switches exchange hellos packets to validate that they (switch) are active.

In a HSRP scenario with 03 nodes, is necessary to apply a tracking configuration? and is necessary to implement HSRP version 2?

I appreciate your response

Best Regards

Luis Hidalgo

Review Cisco Networking for a $25 gift card