How do I assign two vlans on a cisco switch port?


#1

How do I assign two different vlans on the same port? One for PC vlan 10 and one for a VoIP phone vlan 20?
Thanks


#2

Hi Jorge, the command you’re looking for is “voice vlan / Voice appliance attributes” under the interface.

Here is an example:

interface Ethernet0/2
 switchport access vlan 10
 switchport mode access
 switchport voice vlan 20

Switch#show vlan brief 

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
10   Data                             active    Et0/2
20   VoIP                             active    Et0/2

Hope that helps.