01-06-2013 12:57 PM - edited 03-07-2019 10:55 AM
01-11-2013 05:00 AM
No it will not talk to switch 3 without creating vlan 10 on switch 2 and trunk from both switch 1 and 3 into switch 2 carrying vlan 10 on those trunks.
01-14-2013 11:53 PM
From a perspective of Best Practice and of How Things Work in Ideal circumstances then I agree with Glen.
But the reality is a bit different. Let us consider this scenario:
Switch 1 has fasteth0/1 in VLAN 10 as an access port
This connects to fasteth0/1 in switch 2
Switch 2 has fasteth0/1 in VLAN 1 as an access port
Switch 2 has fasteth0/2 in VLAN 1 as an access port
This connects to fasteth0/2 in switch 3
Switch 3 has fasteth0/2 in VLAN 10 as an access port
In this scenario switch 1 will successfully communicate with switch 3.
The basic principle here is that on switch to switch communication on access ports there is no VLAN identification.
Glen might very well say that this is a misconfiguration. And I would agree that it seems not logical to have the middle switch in a different VLAN. But the question was about whether this would work. And the answer would be yes.
HTH
Rick
Sent from Cisco Technical Support iPad App
01-15-2013 05:15 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Both Glen (no) and Rick (yes) are correct. Glen is positing switches are interconnected via VLAN trunks while Rick is positing switches are interconnected via single VLAN access ports.
Oh, and there are even other variations (or scenarios) if you start to play with trunking and native VLANs.
What it boils down to, is whether you're trying to preserve the VLAN 10 isolation through switch 2, as in Glen's response. What Rick explained mixes VLAN 10 traffic, from switches 1 and 3, with switch 2's VLAN 1 traffic.
02-07-2013 11:33 AM
Out of the box it won't. The switch will not forward a vlan over a trunk that it does not know about.
It won't even do it if the vlan exists but has a different name.
This is a security feature.
I think it is possible to force it through.
If you turn off CDP
Turn on BPDU filter
Set VTP mode to transparent
You might be able to persuade the middle switch to pass the traffic.
Sent from Cisco Technical Support iPad App
02-07-2013 01:43 PM
Stuart seems to be making the assumption that the switches are connected by trunk ports. In that case the switches will not communicate. But I do not see anything in the original post that says there are trunk ports.
HTH
Rick
02-07-2013 01:50 PM
You are correct. I did make this assumption.
If the ports are access ports there is no issue because the LAN packets won't be tagged, so it would work just fine.
You can get issues with STP and root switch election. Which might mess up other communication across the VLANS.
So you should use BPDU filter to prevent this on the access ports.
Sent from Cisco Technical Support iPad App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide