Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

HSRP with 3 switches

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

6 REPLIES

Re: HSRP with 3 switches

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

New Member

Re: HSRP with 3 switches

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.

Re: HSRP with 3 switches

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

Hall of Fame Super Silver

Re: HSRP with 3 switches

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

Re: HSRP with 3 switches

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

New Member

HSRP with 3 switches

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

2623
Views
0
Helpful
6
Replies