1258
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
switchport voice vlan
switchport voice vlan
To configure the voice VLAN on a port, use the
switchport voice vlan
command. To remove a voice
VLAN, use the
no
form of this command.
switchport voice vlan
{
vlan-list
|
dot1p
|
untagged
}
no switchport voice vlan
Syntax Description
Command Default
None
Command Modes
Interface configuration mode
Command History
Examples
This example shows how to configure VLAN 3 as the voice VLAN:
switch(config)#
interface ethernet 1/28
switch(config-if)#
switchport voice vlan 3
switch(config-if)#
This example shows how to configure an Ethernet port to send CDP packets that configure the Cisco IP
phone to transmit voice traffic in 802.1p frames:
switch(config)#
interface ethernet 1/28
switch(config-if)#
switchport voice vlan dot1p
switch(config-if)#
This example shows how to configure an Ethernet port to send CDP packets that configure the Cisco IP
phone to transmit untagged voice traffic:
switch(config)#
interface ethernet 1/28
switch(config-if)#
switchport voice vlan untagged
switch(config-if)#
This example shows how to stop voice traffic on an Ethernet port:
switch(config)#
interface ethernet 1/28
switch(config-if)#
no switchport voice vlan
switch(config-if)#
vlan-list
VLAN ID. The range is from 1 to 3967 and from 4048 to 4093.
dot1p
Specifies that the Cisco IP phone uses priority tagging and uses an 802.1P
VLAN ID of 0 for voice traffic.
untagged
Specifies that the Cisco IP phone does not tag frames for voice traffic.
Release
Modification
5.2(1)N1(1)
This command was introduced.