33
Voice VLAN Commands
33.3
voice vlan id
Use the voice vlan id Global Configuration mode command to statically configure
the VLAN identifier of the voice VLAN. The no format of the command returns the
voice VLAN to the default VLAN (1).
Syntax
vlan-id
voice vlan id
no voice vlan id
Parameters
vlan-id
vlan id
—Specifies the voice VLAN (range 1-4094).
Default Configuration
VLAN ID 1.
Command Mode
Global Configuration mode
User Guidelines
If the Voice VLAN does not exist, it is created automatically. It will not be removed
automatically by the no version of this command.
Example
The following example enables VLAN 35 as the voice VLAN on the device.
switchxxxxxx(config)#
voice vlan id
35
For Auto Voice VLAN, changes in the voice VLAN ID, CoS/802.1p, and/or DSCP will
cause the switch to advertise the administrative voice VLAN as static voice VLAN
which has higher priority than voice VLAN learnt from external sources.
Are you sure you want to continue? (Y/N)[Y] Y
30-Apr-2011 00:19:36 %VLAN-I-VoiceVlanCreated: Voice Vlan ID 104 was created.
switchxxxxxx(config)#30-Apr-2011 00:19:51 %VLAN-I-ReceivedFromVSDP: Voice VLAN
updated by VSDP. Voice VLAN-ID 104, VPT 5, DSCP 46
530
78-21075-01 Command Line Interface Reference Guide