Administrator Guide

Layer 2 Switching Commands 846
Example
console(config)#switchport voice vlan
console(config)#no switchport voice vlan
switchport voice vlan (Interface)
This command is used to assign the voice VLAN ID on the interface.
Syntax
switchport voice vlan {vlan-id | dot1p priority | none | untagged | priority
extend trust|override-authentication| dscp value}
no switchport voice vlan [priority extend][override-authentication]
vlan-id—Configure an existing VLAN as the voice VLAN. This VLAN ID
is also sent to the phone via LLDP-MED/CDP unless the none parameter
is also specified.
dot1p—Enable LLDP-MED/CDP to configure the phone to send the
specified 802.1p priority in voice packets.
none—Do not send LLDP-MED information to the phone. Allow the
phone to use it’s own configuration for voice packets.
untagged—Enable LLDP-MED/CDP to configure the phone to send
untagged or priority tagged voice traffic.
priority extend
trust
—Configure the switch to trust the priority of
received voice packets. Use the no form of the command to configure the
switch to ignore the received priority of voice packets and remark voice
VLAN packets.
dscp value—Enable LLDP-MED/CDP to configure the phone to send the
specified DSCP value in voice packets.
override-authentication—Allow access to the voice VLAN regardless of
the 802.1X port authentication state. Use the no form of the command to
require authentication to use the voice VLAN. Use the no form of the
command for 802.1X-capable IP phones configured to use 802.1X
authentication.