03-16-2011 10:11 AM - edited 03-06-2019 04:06 PM
I have 2 Cisco 6509 MultiLayer Switches. I have no Layer 2 trunk between them. They are connected over a Layer 3 etherchannel.
I configured a vlan with HSRP on both switches but HSRP is not working. Do i need a layer 2 trunk betwen the switches in order for hsrp to work?
Switch1:
sh standby vlan1700
Vlan1700 - Group 1
Local state is Active, priority 200, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 2.883
Virtual IP address is 30.176.126.1 configured
Active router is local
Standby router is unknown
Virtual mac address is 0000.0c07.ac01
2 state changes, last state change 1w0d
IP redundancy name is "hsrp-Vl1700-1" (default)
Switch2:
sh standby vlan 1700
Vlan1700 - Group 1
Local state is Active, priority 100, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 2.242
Virtual IP address is 30.176.126.1 configured
Active router is local
Standby router is unknown
Virtual mac address is 0000.0c07.ac01
2 state changes, last state change 5d16h
IP redundancy name is "hsrp-Vl1700-1" (default)
Solved! Go to Solution.
03-16-2011 10:26 AM
gkushnir21 wrote:
I have 2 Cisco 6509 MultiLayer Switches. I have no Layer 2 trunk between them. They are connected over a Layer 3 etherchannel.
I configured a vlan with HSRP on both switches but HSRP is not working. Do i need a layer 2 trunk betwen the switches in order for hsrp to work?
Switch1:
sh standby vlan1700
Vlan1700 - Group 1
Local state is Active, priority 200, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 2.883
Virtual IP address is 30.176.126.1 configured
Active router is local
Standby router is unknown
Virtual mac address is 0000.0c07.ac01
2 state changes, last state change 1w0d
IP redundancy name is "hsrp-Vl1700-1" (default)Switch2:
sh standby vlan 1700
Vlan1700 - Group 1
Local state is Active, priority 100, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 2.242
Virtual IP address is 30.176.126.1 configured
Active router is local
Standby router is unknown
Virtual mac address is 0000.0c07.ac01
2 state changes, last state change 5d16h
IP redundancy name is "hsrp-Vl1700-1" (default)
HSRP works by exchanging Layer-2 messages over a shared segment for which two or more routers are serving as potential first hop gateways. So in your case the two switches need to be Layer-2 adjacent on VLAN1700. This is usually achieved by means of a Layer-2 port-channel between the switches but some designs also use the Access switch for this purpose.
Atif
03-16-2011 10:29 AM
Yes, you must have a kind of layer 2 connectivity between two HSRP swithes on this vlan.
A layer 2 trunk between two switch directly or via the the other access layer switch works as long as it provide the layer 2 connectivity.
03-16-2011 10:45 AM
Hello,
Actually, it is not about just creating a trunk between your two 6500s. What also Yudong Wu tried to tell you is that both of your 6500 switches actually have to be connected to the same VLAN for which they are providing the default gateway function, and in this common VLAN you activate the HSRP. The network itself for which you are doing the gateway backup via the HSRP is the common Layer2 domain on which the two 6500 switches should be interconnected. Does this make it more clear?
Best regards,
Peter
03-16-2011 10:26 AM
gkushnir21 wrote:
I have 2 Cisco 6509 MultiLayer Switches. I have no Layer 2 trunk between them. They are connected over a Layer 3 etherchannel.
I configured a vlan with HSRP on both switches but HSRP is not working. Do i need a layer 2 trunk betwen the switches in order for hsrp to work?
Switch1:
sh standby vlan1700
Vlan1700 - Group 1
Local state is Active, priority 200, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 2.883
Virtual IP address is 30.176.126.1 configured
Active router is local
Standby router is unknown
Virtual mac address is 0000.0c07.ac01
2 state changes, last state change 1w0d
IP redundancy name is "hsrp-Vl1700-1" (default)Switch2:
sh standby vlan 1700
Vlan1700 - Group 1
Local state is Active, priority 100, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 2.242
Virtual IP address is 30.176.126.1 configured
Active router is local
Standby router is unknown
Virtual mac address is 0000.0c07.ac01
2 state changes, last state change 5d16h
IP redundancy name is "hsrp-Vl1700-1" (default)
HSRP works by exchanging Layer-2 messages over a shared segment for which two or more routers are serving as potential first hop gateways. So in your case the two switches need to be Layer-2 adjacent on VLAN1700. This is usually achieved by means of a Layer-2 port-channel between the switches but some designs also use the Access switch for this purpose.
Atif
03-16-2011 10:29 AM
Yes, you must have a kind of layer 2 connectivity between two HSRP swithes on this vlan.
A layer 2 trunk between two switch directly or via the the other access layer switch works as long as it provide the layer 2 connectivity.
03-16-2011 10:38 AM
I was hoping to avoid creating a layer 2 trunk between the two core switches, but if the only way for HSRP to work is to have a layer 2 connectivity, i will have to creat a trunk.
03-16-2011 10:45 AM
Hello,
Actually, it is not about just creating a trunk between your two 6500s. What also Yudong Wu tried to tell you is that both of your 6500 switches actually have to be connected to the same VLAN for which they are providing the default gateway function, and in this common VLAN you activate the HSRP. The network itself for which you are doing the gateway backup via the HSRP is the common Layer2 domain on which the two 6500 switches should be interconnected. Does this make it more clear?
Best regards,
Peter
03-16-2011 11:56 AM
Thank you all for providing your explanations to me. I fully understand what needs to be done in this case
Thanks again!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide