04-08-2019 01:48 AM
Hello,
I have a problem with a switch port, it can not identify voice vlan. Both mac addresses it receives on a interfaces considers to be on access vlan, so phone cant get mac address from the voice pool.
Could anyone please help me on this issue?
switchport access vlan 20
switchport mode access
switchport voice vlan 30
switchport port-security maximum 2
switchport port-security violation restrict
switchport port-security mac-address sticky
switchport port-security mac-address sticky 1111.1111.111.1111
switchport port-security mac-address sticky 2222.222.222.2222
switchport port-security
spanning-tree portfast edge
spanning-tree bpduguard enable
Solved! Go to Solution.
04-08-2019 02:44 AM - edited 04-08-2019 02:45 AM
If it is an Avaya handset you should be using LLDP for the discovery.
! lldp run !
cheers,
Seb.
04-08-2019 01:54 AM
Hi there,
What device discovery do you have configured on the switch?
If you are using Cisco phones, ensure CDP is enabled on the switchports which are connected to the VOIP phones.
cheers,
Seb.
04-08-2019 02:02 AM
CDP is enabled. The fact is that other ports on the same switch are working properly with the same configuration. Could it be a software bug?
04-08-2019 02:24 AM
Is the PC connected and powered on at the time this happens? Can you clear the learned MAC addresses:
clear port-security sticky address 1111.1111.111.1111
clear port-security sticky address 2222.222.222.2222
....disconnect the PC and then plug the phone into the switchport.
Or disable port-security.
I have seen some instances where with port-security enabled and a maximum count limited to 2 MAC addresses, the switchport doesn't permit the MAC to move to the voice VLAN.
cheers,
Seb.
04-08-2019 02:29 AM
Yes, I have tried everything possible. Even when I remove access vlan 20 and leave only voice vlan, switch puts phones mac address into native vlan, not into voice vlan.
Phone vendor is Avaya
04-08-2019 02:44 AM - edited 04-08-2019 02:45 AM
If it is an Avaya handset you should be using LLDP for the discovery.
! lldp run !
cheers,
Seb.
04-08-2019 03:42 AM
Surprisingly it worked. I still I have no idea how other ports were working before I enabled it.
Thanks for your time mate.
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