Consider the senario below :-
Phone1 : Vlan 5 (Production)
Phone2 : Vlan 10 (Lab)
PC : Native Vlan 1 (Production)
Switch port on switch is 802.1q TRUNK,
with all vlans allowed.
Devices are dasiy chained to each other.
Switchport ---> phone1 dataport,
Ph1 PC port ---> to Ph 2 dataport
Phone2 PC port-->PC
Now, how can I set phone 1 to be in vlan 5, and phone 2 to be in vlan 10 ??
I believe on the switch (2950), I can only set a single "switchport voice vlan".
Can I set it manually on the phones, and remove the settings on the switchport ?
If yes, do I need to extend the trust boundary on the switchport, since the 2nd phone is connected to the first through its PC port ??
Do I have to forego the voice vlan, have all devices on a single vlan, and use ACL's to manually set QoS / (Cos/ToS) markings based on mac addresses of the devices on the trunk ?
YEs, you need to extend the trust.
you should use the following to extend the trust for the 2nd phone connected to the secondary port:
'switchport priority extend trust'
this will queue the packets of the 2nd phone to the high priority queue, as well as continue to queue those of the first phone to the high priority queue.
please see the following link for more info:
(5th bullet point in the list)