cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

145
Views
0
Helpful
4
Replies
Beginner

STP Root and HSRP Gateway

We have 2 core cisco Nexus 9K switches and I noticed that one is the STP root for vlans while the other is the active HSRP gateway for vlans. I'm pretty confident that the primary switch should be both the HSRP gateway and the root--correct me if I'm wrong. Also, would changing the priority on the HSRP group make my standby gateway the active one immediately without much interruption or would a reboot be required.

 

I would make this change after hours of course, but I would like some advice from some of you Cisco gurus.

4 REPLIES 4
Highlighted
VIP Expert

Re: STP Root and HSRP Gateway

I agree with you. Usually the switch that is the primary for HSRP, should also be the root switch as well as vPC primary if you have vPC configured. This way it is so much easier to understand and manage the environment. As for changing the priority, you can give a higher priority to the backup HSRP switch, but that switch will not take over as the active HSRP unless you add preemption as well. Also, there is no need for reboot. The other option would be to change the priority on the backup switch and shut down the active HSRP SVI and bring it back online. That way the backup switch will take over but the first option is so much easier. 

HTH

Rising star

Re: STP Root and HSRP Gateway

Hello,
I agree with you, while one switch is active hsrp, it should be root to vlan as well. if you change hsrp priority it wont stop your network topology, because both switch know who is the virtual ip address... So, you can change it without problem. Just check if preemption is configured properly on both switches.
Jaderson Pessoa
*** Rate All Helpful Responses ***
Participant

Re: STP Root and HSRP Gateway

depending on your vPC setup, both switches would show as root so be careful you don't out think yourself. 

 

VIP Advisor

Re: STP Root and HSRP Gateway

Hello

I tend to agree with @cmarva  in a vpc environment my understanding is the vpc primary by default should be the stp root, and if you append the peer switch statement the two VPC switches would have the same STP BID thus to STP they are both seen as one logical switch.



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards