05-18-2023 05:49 AM
I have my access ports set up like this:
PC is tethered from phone on it's internal switch.
interface 2/0/1
switchport access plan 11
switchport voice vlan 130
In the VLANs I have ip helper-address set to my DHCP server.
The phones and the computers pick up either a .11.X address or the default vlan 10.10.2.x
If I manually set the phones to pick up VLAN 11 on the pc port and vlan 130 on the WAN port, it works fine. I shouldn't have to touch the phones though. Right?
05-18-2023 05:53 AM
the phone not select the correct VLAN,
check mac address is it add to correct vlan ?
05-18-2023 06:02 AM
05-18-2023 06:51 AM
as you can see the VLAN one time 11 and other is 130,
so return back to the dot1x if you use it there is something misconfig.
05-18-2023 11:17 AM
05-18-2023 11:30 AM - edited 05-18-2023 11:32 AM
this all config under the interface
interface GigabitEthernet2/0/5
switchport access vlan 11
switchport voice vlan 130
spanning-tree portfast edge
what is the SW model you use ?
05-18-2023 11:35 AM
if you dont use dot1x then this bug in cisco switch, take look to link below
https://community.cisco.com/t5/switching/mac-address-of-ip-phone-in-two-vlans/td-p/1549258/page/2
I need to know the phone model and SW.
thanks
MHM
05-18-2023 02:59 PM
05-18-2023 03:07 PM
This ios ver. What is SW model?
05-18-2023 05:49 PM
05-18-2023 06:05 PM
try using LLDP instead of CDP and check result, you must see VoIP mac in voice VLAN only.
05-19-2023 05:57 AM - edited 05-19-2023 06:23 AM
Yealink Phones <<- use LLDP not CDP and check again
note:- do this in one port and if you success apply it to other ports
05-18-2023 11:30 AM
Are you using Cisco phones? If yes, the voice vlan (according to your port config) should always be 130 and your data vlan 11. You also need option 150 configured on the DHCP server for the voice vlan.
HTH
05-19-2023 05:45 AM
05-19-2023 04:37 AM
I have configured my access ports as follows:
- The PC is connected via tethering from a phone on the internal switch.
- Interface: 2/0/1
- Switchport access plan: 11
- Switchport voice VLAN: 130
In my VLAN configuration, I have set the "ip helper-address" to my DHCP server.
Currently, both the phones and computers are obtaining IP addresses either from the .11.X subnet or the default VLAN 10.10.2.X subnet.
Ideally, I shouldn't have to manually configure the phones to pick up VLAN 11 on the PC port and VLAN 130 on the WAN port. The configuration should work automatically without any additional manual intervention. Is my understanding correct?
Regards;
David Johnson.
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