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 a port.

Use undo voice vlan enable to disable the voice VLAN feature on a port.

By default, the voice VLAN feature is disabled on ports.

Use this command only on a hybrid or trunk port operating in automatic voice VLAN assignment mode.

Examples

# Enable the voice VLAN feature on Ethernet 1/0/1.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] voice vlan 2 enable