Aruba & ProVision-based
1753727 Members
4745 Online
108799 Solutions
New Discussion юеВ

Re: LLDP VLAN tagging not working

 
jp3yyyy
Occasional Visitor

LLDP VLAN tagging not working

Hi,

I have a 2610-48-PWR configured with LLDP to set the VLAN for Polycom IP phones:

vlan 1    

   name "DEFAULT_VLAN"   

   untagged 1-48   

   ip address 10.10.1.128 255.255.0.0   

   tagged Trk1    

exit

vlan 20

   name "VOIP"

   tagged 1-48,Trk1

   voice

   exit

 

DHCP address for VLAN 20 are given out by the phone system. DHCP address for VLAN 1 are given out by two Windows DHCP servers. In all cases when a PC is connected it is put on VLAN 1 and gets a valid IP address for that subnet. When phones connect they usually get tagged for VLAN 20 and get a correct IP address for the VLAN 20 subnet, But, sometimes a phone gets an IP address from VLAN 1 but is tagged VLAN 20.

 

It seems that as the phone boots it starts out on VLAN 1 and then eventually switches over to VLAN 20. If the VLAN 1 DHCP server responds before the phone switches to VLAN 20 then the phone gets an invalid IP (VLAN 1) address. This issue started when I upgraded one of the VLAN 1 DHCP servers to Windows 2012 R2. It was never an issue with older version of Windows DHCP server.

 

Any idea? I tried configuring the new Windows DHCP server to have a delay but that didnтАЩt solve the problem.

 

Thank you.

3 REPLIES 3
Vince-Whirlwind
Honored Contributor

Re: LLDP VLAN tagging not working

Is the Windows DHCP server patched to a switchport on this same switch?

jp3yyyy
Occasional Visitor

Re: LLDP VLAN tagging not working

No, the DHCP server is connected to a different switch.

Linkk
Frequent Advisor

Re: LLDP VLAN tagging not working

The phone should boot until it starts the LLDP-MED service, then it should discover the Voice VLAN and tag it. The switch should then also see that the connected device is classified as a phone. After that, the phone will reach only the VLAN 20 DHCP server. 

That it gets a VLAN 1 IP means, that the LLDP-MED "conversation" isn't working fast enough. Then the phone will boot, not tag any VLAN and get the VLAN 1 IP. After that, the phone will probably start LLDP-MED and get the VLAN tag, but no new IP. 

It is difficult to determine where the error is. Every support will tell you to first upgrade your devices to the newest firmware, so you should do that ;) 

As a workaround, you could look into DHCP options in VLAN 1, directed to the phones with the correct VLAN tag.