cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
583
Views
0
Helpful
5
Replies

PC not getting IP from IP Phone Connected to Switch

timhenn98
Level 1
Level 1

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. 

 

 

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

Add "switchport access vlan xx" for the data vlan to your config and test again.

HTH

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.

 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

Thanks for the reply! Have not tried a different VLAN. Will try that next. These are Allworx phones.

If the phones are not Cisco phones, you may need to trunk the ports and test.

HTH

Review Cisco Networking for a $25 gift card