Voice VLAN Configuration Commands 87
You can only run the Voice VLAN function on the port when all the Voice VLAN
features in system view and port view are enabled.
For the related command, see display voice vlan status.
Example
To enable the Voice VLAN features on port Ethernet1/0/2, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface Gigabitethernet1/0/2
[SW5500-GigabitEthernet1/0/2]voice vlan enable
voice vlan Syntax
voice vlan
vlan_id
enable
undo voice vlan enable
View
System View
Parameter
vlan_id:
The VLAN ID for the Voice VLAN to be enabled, in the range of 2 to
4094.
Description
Use the voice vlan command to globally enable the Voice VLAN features of one
VLAN. Use the
undo voice vlan enable command to globally disable the Voice
VLAN features of one VLAN.
A specified VLAN must exist for a successful Voice VLAN enabling. You cannot
delete a specified VLAN that has enabled Voice VLAN and only one VLAN can
enable Voice VLAN features at one time.
For the related command, see display voice vlan status.
Example
Enable the Voice VLAN features on VLAN 2 (VLAN 2 already exists).
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]voice vlan 2 enable
voice vlan mac_address Syntax
voice vlan
mac-address
oui
mask
oui_mask
[
description string
]
undo voice vlan mac-address
oui
View
System View