Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Spanning tree vlan priority - Cisco 3550

Posted on 2010-09-16
5
Medium Priority
?
1,827 Views
Last Modified: 2012-05-10
Hello EE. I have a question about Sopanning-tree vlan priority. We have 2 x  Cisco 3550 core switches.for redunancy. Vlans has always been a bit of a grey area for me. I was looking at the switch configurations and noticed there was a slight difference between them:
 
Core 1
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1-3,5,8,11,14,20-21,24,100 priority 12288
spanning-tree vlan 4,31,101-102 priority 24576
!
vlan internal allocation policy ascending

--------------------------------------------------------------

Core 2
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1-6,8,11,14,20-21,24,100 priority 16384
!
vlan internal allocation policy ascending

Should these be the same?  Vlan 101 - 102 is missing altogether from Core 2.
0
Comment
Question by:InSearchOf
  • 2
  • 2
5 Comments
 
LVL 8

Assisted Solution

by:ragnarok89
ragnarok89 earned 800 total points
ID: 33696410
They don't have to be the same if the missing vlans don't even exist.

If they do exist, I would include them in your 2nd config.
0
 
LVL 10

Expert Comment

by:atlas_shuddered
ID: 33704385
Additionally, vlan 101-102, if added at future would be come up with the default priority of 32768 on Core 2.  In order to ensure that your vlans are propogated accurately across switches, you may also want to consider initiating a VTP domain.
0
 

Author Comment

by:InSearchOf
ID: 33718847
Yes, the vlans exist so I would have to add them. Does it matter if all the vlans have the same priority as is the case it the Core 2 configuration?

Does VTP add any extra traffic to a switch?
0
 
LVL 10

Accepted Solution

by:
atlas_shuddered earned 1200 total points
ID: 33719668
VTP adds a minimal amount of traffic.  As long as you aren't trying to run across a 10mb link, it isn't enough to concern over.
The priority will only need to be set on the the switch you desire to run as your root bridge (for STP).  This setting simply ensures that the desired switch is elected root and thus becomes the point by which all traffic must pass.  On your secondary, set the priority to -Core 1 default priority (12288 plus 1 and 16284 plus 1 respective to your vlan priorities noted above).  This will enable your Core 1 to come up as the root bridge until failover, at which point Core 2 would subsume the role.  A note on this, once you make the changes, be sure to validate that Core 1 comes up as the root (show root).  If it doesn't, tweak as below.
If you are setting up vlans on in a segmented fashion, meaning they aren't to propogated across all switches or you identify a different switch which will work better as your STP root switch, then configure your priority there.  As far as the priority being the same on all vlans, it is helpful, but not necessary, so long as the priority you set to the vlan leads to the desired root bridge election and failover sequence.
A general rule of thumb is to set the priority for the root, in each vlan, to 8194.  Another option, if the root is never going to change, ever, ever, ever, then you can set it to 1 but this is not recommended.
0
 

Author Closing Comment

by:InSearchOf
ID: 33742689
Thanks for the info.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question