====== Voice VLAN ======
===== Configuration IOS =====
==== Single Access VLAN ====
* (Optional) Enable 802.1p tag (VLAN ID=0) to include COS value
* Voice is put into vlan 261
interface FastEthernet 0/1
switchport mode access
switchport voice vlan dot1p
switchport access vlan 261
==== Voice VLAN ====
* Voice is put into vlan 261
* Data is put into vlan 262
interface FastEthernet 0/1
switchport mode access
switchport voice vlan 261
switchport access vlan 262
==== Trunk Port ====
* Voice is put into vlan 261
* Data is put into vlan 262 (native untagged)
* Allow more than two VLAN on port e.g. maybe PC need multiple VLAN to be trunk
* Important to add voice vlan to trunk
interface FastEthernet 0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 262
switchport voice vlan 261
switchport trunk allowed vlan 261
===== Configuration CATOS =====
==== Single Access VLAN ====
* (Optional) Enable 802.1p tag (VLAN ID=0) to include COS value
* Voice is put into vlan 262
set port auxiliaryvlan 2/1-3 dot1p
set vlan 262 2/1-3
set trunk 2/1-3 off
==== Voice VLAN ====
* Voice is put into vlan 261
* Data is put into vlan 262
set port auxiliaryvlan 2/1-3 261
set vlan 262 2/1-3
set trunk 2/1-3 off
==== Trunk Port ====
* Voice is put into vlan 261
* Data is put into vlan 262 (native untagged)
* Allow more than two VLAN on port e.g. maybe PC need multiple VLAN to be trunk
* Important to add voice vlan to trunk
set trunk 2/1-3 on
clear trunk 2/1-3 1-4096
set vlan 262 2/1-3
set port auxiliaryvlan 261 2/1-3
set trunk 261 2/1-3