To do…
Use the command…
Remarks
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.
For a port operating in automatic voice VLAN assignment mode, its default VLAN cannot be configured
as the voice VLAN; otherwise the system prompts you for unsuccessful configuration.
When the voice VLAN is working normally, if the device restarts or the Unit ID of a device in a XRN
fabric changes, in order to make the established voice connections work normally, the system does not
need to be triggered by the voice traffic to add the port in automatic voice VLAN assignment mode to the
local devices as well as the XRN of the voice VLAN but does so immediately after the restart or the
changes.
Configuring the Voice VLAN to Operate in Manual Voice VLAN Assignment Mode
Follow these steps to configure a voice VLAN to operate in manual 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
Without this address,
the default OUI
address is used.
Enable the voice VLAN security mode
voice vlan security enable
Optional
By default, the voice
VLAN security mode is
enabled.
10-8