cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1948
Views
5
Helpful
2
Replies

root bridge and hsrp

DARYLE DIANIS
Level 1
Level 1

I have 2 6509's running L3 and hsrp is configured between them. I read that its a good idea to have the root bridge associated to one of the 6509's running hsrp, too. But why? the root bridge and spanning-tree are layer 2 and hsrp is layer 3. One prevents hardware loops and one prevents software loops. What kinds of things could go wrong?

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

It is a good idea but it isn't necessary. Also STP prevents L2 loops rather than hardware loops as such and HSRP is nothing to do with preventing loops, it is to do with providing redundancy for end hosts/servers etc.

Lets say your'e 6500 switches are interconnected with a L2 trunk. The idea of matching up STP root and HSRP active gateway is so you can do a rudimentary form of load-balancing from the access-layer

ie. an access-layer switch will have 2 uplinks - one to SW1 (your first 6500) and one to SW2 (your second 6500). If you set SW1 to be STP root for odd vlans and SW2 to be STP root for even vlans then you can utilise both uplinks.

In addition if you ensure that the HSRP active gateway for an odd vlan is SW1 then you don't have to keep going across the L2 trunk that interconnects your 2 6500 switches.

So it's not necessary and nothing disastrous will happen if you don't do it, it is all about optimal paths in your topology.

Jon

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

It is a good idea but it isn't necessary. Also STP prevents L2 loops rather than hardware loops as such and HSRP is nothing to do with preventing loops, it is to do with providing redundancy for end hosts/servers etc.

Lets say your'e 6500 switches are interconnected with a L2 trunk. The idea of matching up STP root and HSRP active gateway is so you can do a rudimentary form of load-balancing from the access-layer

ie. an access-layer switch will have 2 uplinks - one to SW1 (your first 6500) and one to SW2 (your second 6500). If you set SW1 to be STP root for odd vlans and SW2 to be STP root for even vlans then you can utilise both uplinks.

In addition if you ensure that the HSRP active gateway for an odd vlan is SW1 then you don't have to keep going across the L2 trunk that interconnects your 2 6500 switches.

So it's not necessary and nothing disastrous will happen if you don't do it, it is all about optimal paths in your topology.

Jon

Hi, thanks for the info, you answered my question even though I didn't ask it quite the right way.

Review Cisco Networking for a $25 gift card