148
voice vlan enable
Syntax
voice vlan
vlan-id
enable
undo voice vlan
[
vlan-id
]
enable
View
Ethernet interface view
Default level
2: System level
Parameters
vlan-id
: Specifies a VLAN ID, ranging from 2 to 4096.
Description
Use the
voice vlan enable
command to enable the voice VLAN feature and configure a VLAN as the
voice VLAN for the current Ethernet port.
Use the
undo voice vlan enable
command to disable the voice VLAN feature on an Ethernet port.
By default, the voice VLAN feature is disabled on ports.
You can 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-1234-1234.
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.