Configuration Guide Voice VLAN Configuration
mode is manual mode, according to the matching relationship, native VLAN of
Fa 0 / 1 must be Voice VLAN and Voice VLAN must be in the list of untagged
VLANs allowed to pass the port. Among networking requirements, therefore,
native VLAN of Fa0/1 should be set as 2 (Voice VLAN ID), meanwhile it is
necessary to join VLAN 2 in the list of untagged VLANs allowed to pass Fa 0 / 1
during configuration.
Configuring procedure
1) Create VLAN 2 as Voice VLAN.
# create VLAN 2 and enable Voice VLAN function of VLAN 2.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# vlan 2
Ruijie(config-vlan)# exit
Ruijie(config)# voice vlan 2
The equipment allows voice messages with OUI address of ―0012.3400.0000‖
and mask code of "ffff.ff00.0000" being transmitted through Voice VLAN. And
the descriptor is "Ruijie".
# Configure Voice VLAN OUI address
Ruijie(config)# voice vlan mac-address 0012.3400.0000 mask ffff.ff00.0000
description Company A
4) The access port is Hybrid-type port Fa 0/1, and native VLAN of the port is
VLAN 2.
# set Fa 0/1 as Hybrid Port
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# switchport mode hybrid
# set Voice VLAN as native VLAN of Fa 0/1
Ruijie(config-if)# switchport hybrid native vlan 2
# Join Voice VLAN (i.e., VLAN 2) in the list of untagged VLANs that join Fa 0/1
Ruijie(config-if)# switchport hybrid allowed vlan add untagged 2
# Enable Voice VLAN function of Fa 0/1
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# voice vlan enable
Display verification
# Show current Voice VLAN status.
Ruijie(config)# show voice vlan