xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
746 
 
Chapter 87  Voice VLAN Command List 
 
enable voice_vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] 
config voice_vlan priority <int 0-7> 
config voice_vlan oui [add | delete] <macaddr> <macmask> {description <desc 32>} 
config voice_vlan ports [<portlist> | all] [state [enable | disable] | mode [auto {[tag 
|untag]}|manual]] 
config voice_vlan aging_time <min 1-65535> 
config voice_vlan log state [enable | disable] 
show voice_vlan ports {<portlist>} 
show voice_vlan voice_device {ports <portlist>} 
show voice_vlan lldp_med voice_device 
 
87-1  enable voice_vlan 
Description 
This command is used to enable the global voice VLAN function on a switch. To enable the voice 
VLAN, the voice VLAN must be also assigned .At the same time, the VLAN must be an existing 
static 802.1Q VLAN. 
To change the voice VLAN, the user must disable the voice VLAN function, and re-issue this 
command. 
By default, the global voice VLAN state is disabled. 
 
Format 
enable voice_vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] 
 
Parameters 
<vlan_name 32> - Enter the name of the voice VLAN here. This name can be up to 32 
characters long. 
vlanid - Specify the VLAN ID of the voice VLAN. 
<vlanid 1-4094> - Enter the voice VLAN ID here. This value must be between 1 and 4094. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To enable a voice VLAN with name “v2”: