Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Need help on configuring STP

Hi Experts,

We have planned to put a redundant cores switch. We have configured HSRP for all the vlans. All the fiber uplinks from swithces placed at diferent floors are terminating on the primary switch. Now I want the backup fast ethernet copper links to be terminated to secondary switch. I fear if the situation might cause a loop for me. So wanted to know if any specific STP configuuration I need to do on the access level, primary and secondary switches. Attached is a diagram, which could give a better understanding of the situation. Let me know if any changes required.

Thanks

Arabinda

6 REPLIES
Bronze

Re: Need help on configuring STP

Hello,

As long as you have spanning tree enabled on all your switches on every VLANN then you won't have a loop. It's also important to choose what type of spanning tree protocol to use (altough they should be interoperable with each other) ie PVST, RSTP or MST.

So given that you've got spanning tree configured on every switch you will be loop free. Next you just need to ensure that STP is optimised correctly. Do this by lowering the bridge priority on the two core swicthes. You will also want to align the placement of the root bridge with the active HSRP router for each VLAN.

OPTIONAL: If you want to loadbalance between uplinks then you will need to set SW1 to be the spanning tree root for half your VLANs and SW2 to be the spanning tree root for the other half. HSRP is then aligned to the root bridge for each VLAN. This normally done using SW1 for all odd vlans and SW2 for all even vlans.

Other than that try reading some of the Cisco docs on it

STP:

http://www.cisco.com/en/US/tech/tk389/tk621/technologies_configuration_example09186a008009467c.shtml

RSTP:

http://www.cisco.com/en/US/tech/tk389/tk621/technologies_white_paper09186a0080094cfa.shtml

Regards

Bronze

Re: Need help on configuring STP

BTW.

I put a link to STP above. Don't actually configure this (use RSTP, PVST or MST)!!!

I just put it up there as a reference for the basic theory.

New Member

Re: Need help on configuring STP

Hi James,

Thank you for the information.

I have configuired rapid pvst on all the switches. (spanning-tree mode rapid-pvst).

Also I have made the primary switch 4506 as the root bridge for all the vlans. and secondary switch 3750 as the secondary root bridge for all vlans.

Hope this configuration works with the provided setup. I fear the network does not end up in loop.

Thanks

Arabinda

Re: Need help on configuring STP

hi Arabinda

as James you can loadshare the traffic on both switches

why you put all the load on one switch now

just make for example even vlans use one switch as active hsrp and root bridge as well

and odd vlans use the other this way will be more practical and best practice as well

becuase having a passive switch just for backup not best way for your case

HTH

good luck

New Member

Re: Need help on configuring STP

Hi,

thank you. Surely I would try out what you have suggested.

Thanks

Arabinda

Re: Need help on configuring STP

plz, if helpful rate

good luck

142
Views
5
Helpful
6
Replies
CreatePlease to create content