cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
681
Views
0
Helpful
6
Replies

STP n TRUNK

shijuuu
Level 1
Level 1

Hii,

I have two 3750 switches and provided two back to back uplinks from SW1gig1/0/1 -SW2gig1/0/1 and SW1gig1/0/2 - SW2gig1/0/2 and both ports are in trunk mode and i have allowed few vlan also.as per my understanding one port should be blocked by STP but in my case both ports are in active state and have the reachability between two. just confused.. can anyone clear me ????

thanks

6 Replies 6

glen.grant
VIP Alumni
VIP Alumni

Spanning tree will only block a link if there is a built in loop in your design . Unless you have a crosslink between the 2 upper switches you have attached the 3750 to neither side will show in blocked state because there is no inherent loop in the network . If you put in crosslink with the vlans you are using allowed across that trunk I will guarantee 1 of your links will go into a blocked state. The way it is now there is no loop is no thus nothing is blocked.

Peter010101
Level 1
Level 1

What does show spanning {int trunk port or vlan} show?

thanks

show spantree gives all active

but when i changed to access poprt its workn fine.

vazquez.jorge
Level 1
Level 1

You didnt provide which protocol you are using for trunking, dot1q or isl. I will assume dot1q for now. I am suspecting that your two trunks are not configured exactly the same, cause if they were, then yes, you just created a loop which stp should take care of (by shutting down one port). Check to see if the trunks are configured exactly the same:

conf t

sho int gig1/0/1 trunk

Do this command for each of the ports, and notice any differences. My guess is something is different and stp sees it as two seperate trunks not passing the same traffic over the two links. Otherwise, its a loop for sure.

milan.kulik
Level 10
Level 10

Hi,

as you are running per-VLAN STP probably, STP will not block the whole trunk port.

It will block particular VLANs on that port instead based on a position of the STP root in each VLAN.

Try using "show spanning-tree vlan X blockedports" or similar command to display blocked ports in particular VLANs.

BR,

Milan

thank for ur mail..

My plan was to have redundant link anyway I reconfigured with ether channel.

thanks.

Review Cisco Networking products for a $25 gift card