Link to home
Start Free TrialLog in
Avatar of Dan
DanFlag for United States of America

asked on

Cisco multiple vlans on one port

I have multiple cisco switches, from 2960 to 3750, and we are using voip phones that use the same ports as the computers.
So I'm thinking to to leave the computers on the default vlan, which is vlan 1, and have the voip phones on vlan 200 or some other vlan.  As far as I know, to have each port in two separate vlans, I would have to make all ports trunk ports, is there a better or another way than doing that?
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dan

ASKER

I was thinking about that, I shouldn't have all devices on the default vlan.
So the problem is, I see, I can just set each port, or the range, so entire switch in access mode, and then assign both vlans to the same port.  So does that mean that each port will pass the traffic on both vlans?  If so, then doesn't that defeat the point of having vlans to segregate the traffic?  yes, I can configure my phones to be on vlan 200, and let's say my PCs on vlan 100, but there's nothing to configure on the PCs, so basically just the phones will be on vlan 200.
Does that make sense?
Yes, port will forward traffic for both VLANs, it is standard voice + data port configuration. Phones will be in VLAN 200 and PC in VLAN 100.
It is not defeating the point of having VLANs, it is a kinda special case where you have "a kind of" 2 access VLANs. Actually this is safer option that regular port  configured as trunk, it is trying to prevent attacker from being able to disconnect phone and connect PC in voice VLAN. But, again, can be end device dependent, check manufacturer documentation if it is not Cisco phone. Typically, each manufacturer have example how to configure switch port on Cisco device.
Avatar of Dan

ASKER

Thanks, not yet ready to implement this, but will in the future.