1-8 
To do...  Use the command...  Remarks 
and the voice vlan qos trust 
command can overwrite each 
other, whichever is configured 
last. 
 
 
Configure the QoS priority settings for voice traffic on an interface before enabling voice VLAN on the 
interface. If the configuration order is reversed, your priority trust setting will fail. 
 
Configuring the Voice VLAN to Operate in Automatic Voice VLAN Assignment 
Mode 
Follow these steps to configure a voice VLAN to operate in automatic voice VLAN assignment mode: 
To do…  Use the command…  Remarks 
Enter system view 
system-view 
— 
Set an OUI address that can be 
identified by the voice VLAN 
voice vlan mac-address oui 
mask oui-mask [ description 
text ] 
Optional 
By default, the switch 
determines the voice traffic 
according to the default OUI 
address. 
Enable the voice VLAN security 
mode 
voice vlan security enable 
Optional 
By default, the voice VLAN 
security mode is enabled. 
Set the voice VLAN aging timer 
voice vlan aging minutes 
Optional 
The default aging timer is 1440 
minutes. 
Enable the voice VLAN function 
globally 
voice vlan vlan-id enable 
Required 
Enter Ethernet port view 
interface interface-type 
interface-number 
Required 
Enable the voice VLAN function 
on a port 
voice vlan enable 
Required 
By default, voice VLAN is 
disabled. 
Enable the voice VLAN legacy 
function on the port 
voice vlan legacy 
Optional 
By default, voice VLAN legacy 
is disabled. 
Set the voice VLAN assignment 
mode of the port to automatic 
voice vlan mode auto 
Optional 
The default voice VLAN 
assignment mode on a port is 
automatic.