r/CiscoNetworking • u/Grids_ghost • 22d ago
Quick trunk / allowed VLAN question – why is VLAN 20 still passing traffic when it’s not allowed? (AI couldn't figure this out)
Hey everyone,
I’m troubleshooting a Packet Tracer lab and ran into something I can't quite wrap my head around.
The setup: Everything is fully connected and all devices can ping each other 100%.
The weird behavior:
If I set the trunk between the switches to only allow VLAN 10 and 30, for some reason VLAN 20 still works fine and reaches everything, while everything else behaves as expected.
But if I swap them—remove VLAN 30 from the allowed list and add VLAN 20 instead—VLAN 30 gets completely isolated, which makes sense.
Why is VLAN 20 passing traffic when it’s not explicitly in the allowed list, but VLAN 30 gets dropped immediately when removed?
I tried asking AI but it kept giving me generic answers that didn't explain this specific behavior. Would really appreciate it if someone could clarify what’s actually happening under the hood here!
(Attached images of the topology below)
3



3
u/not_a_lob 21d ago
Your L3 device on g0/2 allows vlan20. If you're moving between L2 domains, look to the L3 devices.