Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 992
  • Last Modified:

HSRP and STP

I'm testing a HSRP configuration between two layer 3 switches and two layer 2 access switches.

The HSRP functionality between the two layer 3 switches appears to failover as expected but I appear to have a stp convergence issue.

I have one hsrp switch configured as the root primary and the other as the root secondary for all vlans.  When I failed over from the root primary to the root secondary, I lose about 70 packets during a ping test from an access switch to a device connected to the other access switch.  When I perform the same test during a failover from the root secondary to the root primary, I only lost 1 packet.

I'm currently using rapid pvst.  I'm assuming the additional packet loss is due to convergence?  Any ideas?

Thanks


Update:  One thing I didn't mention was how the switches are connected.  I have a trunk between the two layer 3 switches.  Then each access switch as a trunk to each layer 3 switch.
0
VSUTech
Asked:
VSUTech
  • 3
  • 3
  • 2
  • +1
3 Solutions
 
rochey2009Commented:
Hi,

What is the topology and where are the redundant links?
0
 
VSUTechAuthor Commented:
The red links are active links.  The connections between the switches are port channel links.
hsrp.jpg
0
 
rochey2009Commented:
How are you testing this? Are you powering off HSRP A?

can you post

show spanning-tree for one of the VLANs
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
SanjeevlokeCommented:
check with RSTP and tweaking timers for HSRP.
0
 
VSUTechAuthor Commented:
I was able to figure out the issue pinging from the access switch.  I hadn't configured the native vlan in an hsrp group so the pings would fail because the default gateway was down.

One thing I did notice was a trunk to a router attached to one of the access switches goes into a learning state when the root primary goes down or comes back up.  I am testing this by reloading the root primary switch.  

Any ideas why this would happen?  I am running rapid pvst.
hsrp.jpg
0
 
rochey2009Commented:
Hi,

Does the router understand rapid spanning tree or is it using traditional spanning tree?

You could use spanning-tree portfast trunk on the trunk link to the router.
0
 
SanjeevlokeCommented:
no i dont think so router understand RSTP.
0
 
Don JohnstonInstructorCommented:
Please post the following output:

HSRP A:
show span
show standby brief
show int status
show ip int brief

HSRP B:
show span
show standby brief
show int status
show ip int brief

Layer 2 switch under HSRP A
show span
show int status

Layer 2 switch under HSRP B
show span
show int status
0
 
VSUTechAuthor Commented:
This issue ended up being an incorrect configuation.  I was performing all the testing remotely and one of the end devices was plugged into the HSRP router.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now