07-12-2012 02:58 PM - edited 03-07-2019 07:45 AM
Hello,
I need to setup Voice and Data VLAN. (Setup - PoE phone connects to the switch, PC connects to the phone)
Say like, I'm connecting the phone to Fa0/1, and I need the phone and the PC to be on a different VLAN using the same switch port Fa0/1. Is it possible? Is there a sub-interface on switches?
My old setup was that all ODD ports where on VLAN 10 for DATA and EVEN ports on VLAN 150 for VOICE.
What is your current setup?
Please feel free to toss in some recommendation. Thanks in advance.
Solved! Go to Solution.
07-12-2012 03:02 PM
Generally, you'd configure your switchport like:
int fa0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 150
Some implementations, like mine for instance, use trunk ports because I don't have Cisco switches everywhere:
int fa0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchpor trunk native vlan 10
switchport trunk allowed vlan 10,150
Then your phone would be responsible for tagging the 150 vlan. The most preferred is the first one.
HTH,
John
07-12-2012 03:02 PM
Generally, you'd configure your switchport like:
int fa0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 150
Some implementations, like mine for instance, use trunk ports because I don't have Cisco switches everywhere:
int fa0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchpor trunk native vlan 10
switchport trunk allowed vlan 10,150
Then your phone would be responsible for tagging the 150 vlan. The most preferred is the first one.
HTH,
John
07-13-2012 02:20 AM
lumuluhang_payaso wrote:
Hello,
I need to setup Voice and Data VLAN. (Setup - PoE phone connects to the switch, PC connects to the phone)
Say like, I'm connecting the phone to Fa0/1, and I need the phone and the PC to be on a different VLAN using the same switch port Fa0/1. Is it possible? Is there a sub-interface on switches?
My old setup was that all ODD ports where on VLAN 10 for DATA and EVEN ports on VLAN 150 for VOICE.
What is your current setup?
Please feel free to toss in some recommendation. Thanks in advance.
Hello ,
As stated in above post you can try the below configuration template
config t
interface FastEthernet 2/3
switchport mode access
switchport access vlan 15
switchport voice vlan 16
OR
config t
interface FastEthernet 2/3
switchport mode access
switchport access vlan 16
switchport voice vlan dot1p
Hope to Help !!
Ganesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide