VLAN Tags Being Different for a VoIP Phone vs. the Host Daisy-Chained to it

trunkvlanvoip

I've recently began working for a VoIP Provider and I am constantly seeing VoIP Phones pulling different VLANs than the Host that is connected to it i.e. daisy-chained.

When I've tried to look more into this the only method I can find is to set the VLAN Tag in the phone itself as otherwise I don't see why both wouldn't get whatever Tag is set on the Switch Port.

Is there another way to accomplish this? I understand the usefulness of the setup, I'm just not sure how it's being done and haven't been able to find anything that doesn't involve the phone itself.

Best Answer

A VoIP phone that chains to another device is a switch, and it negotiates a trunk between the phone and the switch. This happens with CDP or LLDP.

For example, a Cisco switch interface configured as an access interface connecting to a Cisco phone will use CDP to negotiate a trunk from the access interface:

interface GigabitEthernet 1/0/1
 switchport mode access
 switchport access vlan 10
 switchport voice vlan 20

If you connect a PC to the switch interface, you will have an access interface using VLAN 10, but if you connect a Cisco phone, you will get a trunk with both the access VLAN 10 and the VoIP VLAN 20.

Related Topic