01-07-2021 02:58 AM
Hi,
I'm experiencing some problems with one of our 2960X switches.
My voice vlan is 42, my data vlan 40.
What is working:
- phone gets an DHCP IP in voice vlan
- laptop get an DHCP IP in data vlan
Whats wrong:
When i perform a show mac I get the following result:
---- ----------- -------- -----
40 3c2c.xxxx.xxxx DYNAMIC Gi1/0/5
40 706b.1234.5678 DYNAMIC Gi1/0/5
42 706b.1234.5678 DYNAMIC Gi1/0/5
Mac 706b.1234.5678 is in both vlans, 40 and 42.
Port config:
switchport access vlan 40
switchport mode access
switchport voice vlan 42
mls qos trust device cisco-phone
mls qos trust cos
spanning-tree portfast
spanning-tree bpduguard enable
sh arp shows that 706b.1234.5678 has only an IP in vlan 42.
Can anyone explain why my Cisco phone is on both vlans 40 and 42? Can't explain myself what's happening here.
Thanks.
Solved! Go to Solution.
01-10-2021 08:15 PM
I am not sure that what you are observing is a bug, and in fact not sure that it is a problem. Note that in show mac that there is a unique mac for your pc and a mac for your phone, which shows up in both vlans
40 3c2c.xxxx.xxxx DYNAMIC Gi1/0/5 (not sure why you block out some pars of the mac address, but pretty sure that this is your PC)
40 706b.1234.5678 DYNAMIC Gi1/0/5 (this is the mac for your phone)
42 706b.1234.5678 DYNAMIC Gi1/0/5
It is perhaps unexpected to have the phone mac in both vlans. But it is not a problem. Remember that a mac address only needs to be unique within its broadcast domain/vlan) Having the same mac address show up in 2 vlans does not cause a problem in either of the vlans.
Am I correct in assuming that the physical cable from your switch connects to the phone, and a cable from the phone connects to the PC? In that case the phone is the device that is directly connected to vlan 40 and so it is not a problem that its mac would show up in vlan 40.
01-07-2021 08:11 AM
- Check this info :
M.
01-07-2021 03:55 PM
Hello
Possible bug, suggest to upgrade switch software.
01-10-2021 08:15 PM
I am not sure that what you are observing is a bug, and in fact not sure that it is a problem. Note that in show mac that there is a unique mac for your pc and a mac for your phone, which shows up in both vlans
40 3c2c.xxxx.xxxx DYNAMIC Gi1/0/5 (not sure why you block out some pars of the mac address, but pretty sure that this is your PC)
40 706b.1234.5678 DYNAMIC Gi1/0/5 (this is the mac for your phone)
42 706b.1234.5678 DYNAMIC Gi1/0/5
It is perhaps unexpected to have the phone mac in both vlans. But it is not a problem. Remember that a mac address only needs to be unique within its broadcast domain/vlan) Having the same mac address show up in 2 vlans does not cause a problem in either of the vlans.
Am I correct in assuming that the physical cable from your switch connects to the phone, and a cable from the phone connects to the PC? In that case the phone is the device that is directly connected to vlan 40 and so it is not a problem that its mac would show up in vlan 40.
01-10-2021 10:42 PM
Thanks for your detailed answer.
You are right - switch to phone to PC.
The problem is:
We use a NAC solution and I assume that this error is related to my description above:
Jan 11 06:35:33.307: %DOT1X_SWITCH-5-ERR_VLAN_EQ_VVLAN: Data VLAN 42 on port GigabitEthernet1/0/5 cannot be equivalent to the Voice VLAN AuditSessionID C0A82314000000140EFE983F
Vlan Mac Address Type Ports
---- ----------- -------- -----
40 706b.b925.8840 DYNAMIC Drop
42 706b.b925.8840 DYNAMIC Drop
Already tried to upgrade switch firmware to 15.2(7)E3, but it didn't improve the situation.
01-11-2021 05:20 AM
Sorry I'm stupid.
Jan 11 06:35:33.307: %DOT1X_SWITCH-5-ERR_VLAN_EQ_VVLAN: Data VLAN 42 on port GigabitEthernet1/0/5 cannot be equivalent to the Voice VLAN AuditSessionID C0A82314000000140EFE983F
was an error in my NAC configuration.
I think I'll just ignore that the mac is shown in both VLANs.
01-11-2021 08:14 AM
Thanks for the update. Glad that you have resolved the issue and that our suggestions have been helpful. Thank you for marking this question as solved. This will help other participants in the community to identify discussions which have helpful information. This community is an excellent place to ask questions and to learn about networking. I hope to see you continue to be active in the community.
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