11-07-2019 06:54 AM
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.
11-07-2019 07:10 AM - edited 11-07-2019 07:12 AM
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
11-07-2019 07:37 AM
11-07-2019 12:12 PM
depending on your vPC setup, both switches would show as root so be careful you don't out think yourself.
11-07-2019 04:05 PM - edited 11-07-2019 05:14 PM
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.
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