CLI Reference Guide-R07

Table Of Contents
Chapter 20
| VLAN Commands
Configuring Voice VLANs
– 498 –
Configuring Voice VLANs
The switch allows you to specify a Voice VLAN for the network and set a CoS priority
for the VoIP traffic. 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 to the Voice VLAN. Alternatively, switch ports can be
manually configured.
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.
Table 103: Voice VLAN Commands
Command Function Mode
voice vlan Defines the Voice VLAN ID GC
voice vlan aging Configures the aging time for Voice VLAN ports GC
voice vlan mac-address Configures VoIP device MAC addresses GC
switchport voice vlan Sets the Voice VLAN port mode IC
switchport voice vlan
priority
Sets the VoIP traffic priority for ports IC
switchport voice vlan rule Sets the automatic VoIP traffic detection method for ports IC
switchport voice vlan
security
Enables Voice VLAN security on ports IC
show voice vlan Displays Voice VLAN settings PE