06-07-2023 07:00 AM
Hello, We are having an issue where PC's that are connected to IP phones are not able to get DHCP IP addresses. The phones are able to get IP addresses but they are not passing the VLAN through to the PC. This switch is replacing an Aruba switch that had vlan 2 set with a qos priority 7. Here is the config for the phone ports.
New Cisco
interface GigabitEthernet1/0/23
description VOIP Phone
switchport mode access
switchport voice vlan 2
spanning-tree portfast
Old Aruba
vlan 1
name "DEFAULT_VLAN"
no untagged 1-6,16,36,40-42,47
untagged 8-15,17-33,35,46
tagged 7,34,37-39,43-45,48
no ip address
ip igmp
exit
vlan 2
name "Phones"
untagged 7
tagged 8-15,17-35,37-39,43-46,48
no ip address
qos priority 7
voice
exit
Any help would be appreciated.
06-07-2023 07:24 AM
Add "switchport access vlan xx" for the data vlan to your config and test again.
HTH
06-07-2023 09:21 AM
Thanks for the Tip. I have done this and it does not show up because our data vlan is vlan1 and does not show up by default.
06-07-2023 09:27 AM - edited 06-07-2023 09:29 AM
I have done this and it does not show up because our data vlan is vlan1 and does not show up by default.
That is the correct behavior. If the data VLAN is 1, since that is the default VLAN, it will not show up in the running config.
Have you tried a different data vlan e.g., 10, 20, etc.. to see if there is a difference?
Are these Cisco phones?
HTH
06-07-2023 10:03 AM
Thanks for the reply! Have not tried a different VLAN. Will try that next. These are Allworx phones.
06-07-2023 10:13 AM
If the phones are not Cisco phones, you may need to trunk the ports and test.
HTH
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