• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 811
  • Last Modified:

VLAN Trunking & STP question

Currently I'm working with two procurve 5406zl switches.

I have a trunk setup from switch A to switch B that all VLANS are setup on. My boss wants me to create another trunk and just have VOIP traffic on it. At first, without thinking, I thought that would be no big deal but I soon realized that STP considers the second trunk a redunant connection and blocks the connection. Is it possible to have two trunk connections between the two switches and just have 1 VLAN on one trunk and the rest on the other?
0
Iamdriver38
Asked:
Iamdriver38
  • 6
  • 6
1 Solution
 
rochey2009Commented:
yes this is possible. There are two ways you can achieve this.

on trunk 1 remove the voice vlan from the trunk "switchport trunk allowed vlan remove x"

on trunk 2 allow only the voice vlan "switchport trunk allowed vlan x"

alternatively, you can leave all vlans on both trunks but modify spanning tree for vlan x so that the alternate link is forwarding for the voice vlan.
0
 
Don JohnstonInstructorCommented:
If it's just VoIP traffic, isn't that on a single VLAN? If so, you don't need a trunk at all. Just an access link for that VLAN.
0
 
rochey2009Commented:
or switchport voice vlan if you want to keep the layer 2 cos information
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
rochey2009Commented:
access port, voice vlan (voice vlan is a special trunk) or second trunk; whichever way you go, you still need to prevent spanning tree from blocking the port, so either tune spanning tree to make sure second link is forwarding for the voice vlan or don't allow voice vlan on first trunk.
0
 
Iamdriver38Author Commented:
I had created a trunk on between the two switches and tagged all the VOIP traffic on it and removed it from the other trunk. Everything from Sw B couldn't connect to the voice servers on Sw A and when I looked it was because SW A was blocking the trunk because, I assumed it was detecting a loop.

Interestingly enough SWB shows the 2nd trunk as FORWARDING but I again assumed that was because SWA was bothing and therefore from SWB's perspective there wasn't a switch loop. I am sure there is probably something I need to change with STP but I'm at a loss as to what it is. I'm not really familar with these HP switches

VLAN 82 is the VOIP

spanning-tree
spanning-tree Trk1 priority 4
spanning-tree Trk2 priority 4
spanning-tree Trk3 priority 4
spanning-tree config-name "T10"
spanning-tree config-revision 1
spanning-tree instance 1 vlan 66 72 82 86 100
spanning-tree instance 1 priority 0
spanning-tree instance 2 vlan 28 48 76 78 92 94
spanning-tree instance 2 priority 1
spanning-tree instance 3 vlan 32 38 166
spanning-tree instance 3 priority 2
spanning-tree priority 0

@donjohnston - I could just us access links for the vlan but we wanted to take advantage of the multiple links within the trunks for both available bandwidth and redudancy provided within the trunks.
0
 
rochey2009Commented:
did you remove the voice vlan from both ends of the trunk?
0
 
Iamdriver38Author Commented:
Here's a general outline of the steps I followed.

1.) Created trk3 by adding 3 ports and verified the trunk was in an UP and SUCCESSFUL LACP state.
2.) added VLAN 82 tagging
3.) remove trk1 tagging for VLAN82 (on both switches)
4.) All devices on Switch A can connect to the voice server, devices on switch B lose connectivity to the server on SWA.
5.) I note that trk3 is blocking on switch B

I am going to call HP at this point, but if I create another STP instance and just add VLAN 82 to that instance with tagging only on trk3 will that trunk come up?

0
 
Iamdriver38Author Commented:
Here's very basically want I have been asked to accomplish Desired topolgy
0
 
rochey2009Commented:
Yes, try putting the voice VLAN in it's own Spanning tree instance and make sure switch B becomes the root bridge for that STP instance.
0
 
Iamdriver38Author Commented:
ok thanks, I'll try that during the maintenance window tonight and see what happens.
0
 
rochey2009Commented:
did you have any luck?
0
 
Iamdriver38Author Commented:
Yes thank you, I created a new STP instance for that vlan and while that did not work, changing the priority for the trk3 within that instance to priority 1 finished it off. Either way I would have had to create a new instance. Sorry for the delay.
0
 
Iamdriver38Author Commented:
THANK YOU. The new instance and changing the priority of the trunks fixed the problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now