07-09-2023 03:36 PM
Hi All,
Need assistance in configuring data and voice vlan on a port.
vlan 101 - voice
vlan 102 - data
How can I configure Multi-VLAN Access Port? I'd like the phone to be on the voip vlan but assign data vlan when a pc is connected to the phone data port.
07-10-2023 02:32 AM
Hi Secron
Thank you for reaching us .
From the details shared I suppose you are looking for a daisy chain setup in regards to the end device.
Consider interface 1/1/1 which is connected to VOIP and PC then you can use the below configuration to achieve your requirement.
Device#con t
Device(config)#vlan 101
Device(config-vlan-101)#tagged e 1/1/1 // this would be for a VOIP phone
Added tagged port(s) ethe 1/1/1 to port-vlan 101.
Device(config-vlan-101)#vlan 102
Device(config-vlan-102)#untagged e 1/1/1 // this would be for a PC device
Added untagged port(s) ethe 1/1/1 to port-vlan 102.
you can also refer below guide for more details
L2 switching configuration Guide:
I hope this helps
Thanks
07-12-2023 07:19 AM
Hi Secron,
Adding to the details shared above :
Device#con t
Device(config)#vlan 101
Device(config-vlan-101)#tagged e 1/1/1 // this would be for a VOIP phone
Added tagged port(s) ethe 1/1/1 to port-vlan 101.
Device(config-vlan-101)#vlan 102
Device(config-vlan-102)#untagged e 1/1/1 // this would be for a PC device
Added untagged port(s) ethe 1/1/1 to port-vlan 102.
Post that, on the interface :
Device(config)#int eth < port number >
Device(config-if-e1000-<port number>)# voice-vlan 101
Should help as well.
Let us know if the same helps !
Regards