Displaying and Maintaining Voice VLAN 103
n
■ Only one VLAN of a device can have the voice VLAN function enabled at a 
time, and the VLAN must be an existing static VLAN.
■ A port that is in a link aggregation port group cannot have the voice VLAN 
feature enabled.
■ If a port is enabled with voice VLAN and works in the manual voice VLAN 
mode, you need to add the port to the voice VLAN manually to make the voice 
VLAN takes effect on the port.
Displaying and 
Maintaining Voice 
VLAN
Voice VLAN 
Configuration 
Examples
Automatic Voice VLAN
Mode Configuration
Example
Network requirement
■ Create VLAN 2 and configure it as a voice VLAN with an aging time of 100 
minutes.
■ The voice traffic sent by the IP phones is tagged. Configure GigabitEthernet 
1/0/1 as a Hybrid port and as the access port, with VLAN 6 as the default VLAN.
■ The device allows voice packets from GigabitEthernet 1/0/1 with an OUI 
address of 0011-2200-0000 and a mask of ffff-ff00-0000 to be forwarded 
through the voice VLAN.
Configure the working mode 
as manual
undo voice vlan mode auto Required
Disabled by default 
Add the ports 
in manual 
mode to the 
voice VLAN 
Access port  Refer to “Configuring an 
Access-Port-Based VLAN” on 
page 88. 
Use one of the three 
approaches.
After you add an Access port 
to the voice VLAN, the voice 
VLAN becomes the default 
VLAN of the port 
automatically. 
Trunk port  Refer to “Configuring a 
Trunk-Port-Based VLAN” on 
page 89.
Hybrid port  Refer to “Configuring a 
Hybrid-Port-Based VLAN” on 
page 90.
Configure the 
voice VLAN as 
the default 
VLAN of the 
port 
Trunk port  Refer to section “Configuring 
a Trunk-Port-Based VLAN” on 
page 89 
Optional
This operation is required if 
the inbound voice traffic is 
untagged. If the inbound 
voice traffic is tagged, do not 
configure the voice VLAN as 
the default VLAN of the port. 
Hybrid port  Refer to “Configuring a 
Hybrid-Port-Based VLAN” on 
page 90.
Enable the voice VLAN feature 
on the port
voice vlan enable Required
To do… Use the command…  Remarks 
To do…  Use the command…  Remarks 
Display the voice VLAN state  display voice vlan state  Available in any view 
Display the OUI addresses currently 
supported by system 
display voice vlan oui  Available in any view