Chapter 19
| VLAN Commands
Configuring Voice VLANs
– 482 –
voice vlan
This command enables VoIP traffic detection and defines the Voice VLAN ID. Use
the
no
form to disable the Voice VLAN.
Syntax
voice vlan
voice-vlan-id
no voice vlan
voice-vlan-id - Specifies the voice VLAN ID. (Range: 1-4094)
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
â—†
When IP telephony is deployed in an enterprise network, it is recommended to
isolate the Voice over IP (VoIP) network traffic from other data traffic. Traffic
isolation helps prevent excessive packet delays, packet loss, and jitter, which
results in higher voice quality. This is best achieved by assigning all VoIP traffic
to a single VLAN.
â—†
VoIP traffic can be detected on switch ports by using the source MAC address of
packets, or by using LLDP (IEEE 802.1AB) to discover connected VoIP devices.
When VoIP traffic is detected on a configured port, the switch automatically
assigns the port as a tagged member of the Voice VLAN.
â—†
Only one Voice VLAN is supported and it must already be created on the switch
before it can be specified as the Voice VLAN.
â—†
The Voice VLAN ID cannot be modified when the global auto-detection status
is enabled (see the switchport voice vlan command.
Example
The following example enables VoIP traffic detection and specifies the Voice VLAN
ID as 1234.
Console(config)#voice vlan 1234
Console(config)#
switchport voice vlan
security
Enables Voice VLAN security on ports IC
show voice vlan Displays Voice VLAN settings PE
Table 100: Voice VLAN Commands (Continued)
Command Function Mode