106 CHAPTER 10: VOICE VLAN CONFIGURATION
Network diagram
Figure 30 Network diagram for manual voice VLAN mode configuration
Configuration procedure
# Configure the voice VLAN to work in security mode and only allows legal voice
packets to pass through the voice VLAN enabled port. (Optional, enabled by
default)
<DeviceA> system-view
[DeviceA] voice vlan security enable
# Configure the OUI address 0011-2200-0000 as the legal voice VLAN address.
[DeviceA] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000 description test
# Create VLAN 2. Enable voice VLAN feature for it.
[DeviceA] vlan 2
[DeviceA-vlan2] quit
[DeviceA] voice vlan 2 enable
# Configure GigabitEthernet 1/0/1 to work in manual mode.
[DeviceA] interface GigabitEthernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] undo voice vlan mode auto
# Configure GigabitEthernet 1/0/1 as a Hybrid port.
[DeviceA-GigabitEthernet1/0/1]port link-type access
Please wait... Done.
[DeviceA-GigabitEthernet1/0/1]port link-type hybrid
# Configure the default VLAN of GigabitEthernet 1/0/1 as voice VLAN and add the
voice VLAN to the list of tagged VLANs whose packets can pass through the port.
[DeviceA-GigabitEthernet1/0/1] port hybrid pvid vlan 2
[DeviceA-GigabitEthernet1/0/1] port hybrid vlan 2 untagged
# Enable the voice VLAN feature of GigabitEthernet 1/0/1.
[DeviceA-GigabitEthernet1/0/1] voice vlan enable
Internet
'HYLFH$
(WK
9/$1
9/$1
28,
0DVNIIIIII
'HYLFH%