voice vlan enable
Syntax
voice vlan vlan-id enable
undo voice vlan [ vlan-id ] enable
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
vlan-id: Specifies a VLAN ID, in the range of 2 to 4096.
Description
Use voice vlan enable to enable the voice VLAN feature and configure a VLAN as the voice VLAN for the
Ethernet port.
Use undo voice vlan enable to disable the voice VLAN feature on an Ethernet port.
By default, the voice VLAN feature is disabled on ports.
Enable the voice VLAN feature on a hybrid or trunk port operating in automatic voice VLAN assignment
mode, but not on an access port operating in automatic voice VLAN assignment mode.
Examples
# Enable the voice VLAN feature on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] voice vlan 2 enable
voice vlan mac-address
Syntax
voice vlan mac-address mac-address mask oui-mask [ description text ]
undo voice vlan mac-address oui
View
System view
Default level
2: System level
Parameters
mac-address: Specifies a source MAC address of voice traffic, in the format of H-H-H. For example,
1234- 1 234- 1 234.
mask oui-mask: Specifies the valid length of the OUI address by a mask in the format of H-H-H, formed
by consecutive 1s and 0s. For example, FFFF-0000-0000. To filter the voice device of a specific vendor,
set the mask to FFFF-FF00-0000.
description text: Specifies a string of 1 to 30 case-sensitive characters that describes the OUI address.
177