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

STP and Trunk

If Sw1 and Sw2 Connected to Core1 and Core2 and there is a trunk link between the 2 cores.Sw1 has vlan 10 and sw2 has vlan 20.

If i allowed vlan 10 only on the trunk link between the 2 cores.

Does it mean that the STP for vlan 20 is disabled beacuse there is no closed loop now for vlan 20 ? Can anyone confirm that pls?

6 REPLIES
Hall of Fame Super Blue

Re: STP and Trunk

Hi

Assuming Sw1 and Sw2 are not connected to each other then STP will not run across the trunk link so you have in effect 2 separate vlan 20's, one on each switch.

STP will still run on the switches for vlan 20, it just won't be one instance of STP across all the switches.

HTH

Jon

Community Member

Re: STP and Trunk

the topolgy is the following

Core1----Trunk---Core2

| |

------SW1--------

and the same for SW2.

and the trunk allow for vlan 10 only?

so the STP will be for Vlan 10 only and Vlan 20 will not right?

Purple

Re: STP and Trunk

vlan 20 is not allowed unless you allow it . By default when the trunk is created all vlans are allowed so you have to manually prune off any unwanted vlans that you don't want to traverse that trunk link.

Hall of Fame Super Blue

Re: STP and Trunk

Sorry, it's not clear from your diagram. I'm assuming that Sw1 has a link to Core1 and Core2 and the same for Sw2.

Assuming the connections are trunk links and you only allow vlan 10 across the trunk link between core1 and core2

One instance of vlan 10 STP will be run across all 4 switches

STP will still run for vlan 20 across the switches. There just won't be any loops so no ports will need to block.

Jon

Community Member

Re: STP and Trunk

YEs, Sw1 has a link to Core1 and Core2 and the same for Sw2.

So i think there will no STP instance for Vlan 20 through the trunk what do you think?

Hall of Fame Super Blue

Re: STP and Trunk

Hi

You are correct STP for vlan 20 will not run across the trunk link between Core1 and Core2.

Jon

288
Views
0
Helpful
6
Replies
CreatePlease to create content