Plantronics + Polycom. Now together as Poly Logo

SountPoint IP 331, lldpd and voice VLAN detection

Occasional Advisor

SountPoint IP 331, lldpd and voice VLAN detection

Hi.

I want to use LLDP to set automatically the voice VLAN on my SoundPoint IP 331.
I am running lldpd with a custom config on my PC and the phone is directly connected to it via the LAN port.
Yes : my PC is my router for the phone. That's my point here. I'm doing some tests with lldpd and I want it to send the voice VLAN ID to my Polycom phone, using LLDP. That seemed to be a good idea then.

Since I had no problem to set the voice VLAN ID for a different vendor phone with the same configuration, I'm now starting to think that there is something wrong with the Polycom phone and/or its exectations. Maybe I ran into a bug, or some non-mandatory TLV is needed by the phone ? Anyway, I didn't figure anything I could have done wrong.
All mandatory TLV seems to be present and correct.

I doubt I will find out by myself now. So please help me.

I upgraded my phone and here are the latest versions I use :

 * Updater : 5.0.11.0282
 * Main application : Label SIP, 4.11.0583
 * Components : Label PolyDSP Titan, Mem1 PS4, Version: 6.1.1.0010
I have deactivate CDP for simplicity.

 

I use lldpd 0.9.6-3-ga254e92.

And I use it like this :

 

sudo ./src/daemon/lldpd -dddd -D interfaces -M4 -I 'eth1'
sudo ./src/client/lldpcli -dddd configure med policy application voice tagged vlan 2604 priority voice dscp 46
sudo ./src/client/lldpcli -dddd configure med power pd source pse priority high value 0
sudo ./src/client/lldpcli update

 

I tried to figure out in the documentation which TLV where mandatory for voice VLAN recognition, and it seems that I have them all. In particular, my port description is not empty.

Please see attached file "polycom-331-lldpd.cap".

So, here are my questions :
 * Is LLDP voice VLAN configuration operational on my Updater/BootROM version ? Or should I upgrade my Updater/BootROM to another version, and which one ?
 * What is the real mandatory TLV list for LLDP voice VLAN recognition ?
 * Is there some kind of hidden need for voice VLAN detection to work on LLDP ? Something like a precise TLV order, a port description format, or some special capability to advertise ? Or anything else ?

Thank you in advance for your help.

10 REPLIES 10
Valued Contributor

Re: SountPoint IP 331, lldpd and voice VLAN detection

This isn't mentioned in the docs (that I could find), but I discovered (as I posted in another thread here many moons ago) that IF you include a non-mandatory TLV, it must not be set to a null value.  If you include a TLV set to null, the phone will reject the advertisement.

 

Good luck,

 

-- Nathan

Message 2 of 11
Polycom Employee & Community Manager

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hello Vad,

welcome to the Polycom Community.

Please ensure you are using 4.0.11 instead of 4.1.1 or this may have been a typo.

 

Also can we get some logs of the Phone?

 

Settings > Logging > Global Settings > Global Log Level Limit > Debug

Settings > Logging > Module Log Level Limits > LLDP > Debug

 

The below FAQ illustrates the bootup process from a network perspective:

 

Aug 24, 2015 Question:What basic network data is send and received by a Polycom phone?

Resolution: Please check this post => here <=


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 3 of 11
Occasional Advisor

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hi NathanA.

 

The only thing I send that looks like an empty value is the Management Adress TLV. It is not empty nor null, but in the end the "OID String Length" is 0. So htere is no OID specified and it could be considered harmful byt the phone too.

 

I can still try and delete this TLV, and see if it change something.

Message 4 of 11
Occasional Advisor

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hi SteffenBaierUK.

 

It was a typo error : the Label SIP version is 4.0.11.0583.

 

Does this means the voice VLAN recogntion with LLDP is done by the main application ? I thought it was a job for the Updater/BootROM.

 

I will be back with logs as soon as possible. I didn't know I could have specific logs, and I don't get logs on my server. I must configure this but don't want to pollute this topic with that.

 

See you soon.

Message 5 of 11
Polycom Employee & Community Manager

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hello Vad,

Diagnostics > View & Download Logs > Log File Type > App
Diagnostics > View & Download Logs > Log File Type > Boot

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 6 of 11
Occasional Advisor

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hi SteffenBaierUK.

 

Thanks for your advice. It's much more easier to get log this way !

 

So I finally have some logs to share. Please see my full logs at the end of this message ; but I think the problem is over here :

 

000008.946|lldp |1|03|Received LLDP packet from 00 04 f2 ab b7 31.
000008.946|lldp |1|03|Received LLDP packet from f0 de f1 62 0e 30.
000008.946|lldp |1|03|Sending LLDP packet with length (lldpPktLen= 379)
000009.946|lldp |1|03|Received LLDP packet from 00 04 f2 ab b7 31.
000009.946|lldp |2|03|Ignoring LLDP packet from other than host.
000009.946|lldp |1|03|Sending LLDP packet with length (lldpPktLen= 379)
000009.948|lldp |1|03|Received LLDP packet from f0 de f1 62 0e 30.
000009.948|lldp |2|03|Ignoring LLDP packet from other than host.

 

My phone MAC address is 00 04 f2 ab b7 31 and my PC MAC address is f0 de f1 62 0e 30.

 

What does " Ignoring LLDP packet from other than host" means ? I understand than my phone shouldn't listen to its own LLDP packets, but I don't know what this "host" limitation is. Adn clearly, if my phone ignore the LLDP packets which are sent by my PC, this cand explain my problem.

 

 

Here are my full logs :

 

boot.log :

000000.415|so   |*|01|---------- Initial log entry ----------
000000.415|so   |*|01|+++ Note that Updater log times are in GMT +++
000000.415|boot |*|01|Initial log entry. Current logging level 3
000000.415|copy |*|01|Initial log entry. Current logging level 3
000000.415|utilm|*|01|Initial log entry. Current logging level 4
000000.415|hw   |*|01|Initial log entry. Current logging level 4
000000.415|ethf |*|01|Initial log entry. Current logging level 4
000000.415|dns  |*|01|Initial log entry. Current logging level 3
000000.415|curl |*|01|Initial log entry. Current logging level 3
000000.415|sec  |*|01|Initial log entry. Current logging level 4
000000.425|wdog |*|01|Initial log entry. Current logging level 4
000000.425|lldp |*|01|Initial log entry. Current logging level 3
000000.425|cdp  |*|01|Initial log entry. Current logging level 3
000000.425|key  |*|01|Initial log entry. Current logging level 4
000000.425|so   |3|01|Platform: Model=SoundPoint IP 331, Assembly=2345-12365-001 Rev=B Region=
000000.425|so   |3|01|Platform: Board=2345-12365-001 1 0
000000.425|so   |3|01|Platform: MAC=0004f2abb731
000000.425|so   |3|01|Platform: BootBlock=3.0.2.0024 (12365-001) 30-Nov-10 14:56
000000.430|so   |3|01|Application, main: Label=Updater, Version=Azurite 5.0.11.0282 08-Jun-16 19:39
000000.430|so   |3|01|Application, main: P/N=3150-11069-509
000000.430|log  |*|01|Install file upload callback for 'Updater'

000000.430|app1 |*|01|Initial log entry. Current logging level 3
000000.445|cfg  |*|01|Initial log entry. Current logging level 2
000000.475|app1 |3|01|Application, load: Type=SIP, Version=4.0.11.0583 21-Jun-16 17:15
000000.475|log  |4|01|UtilLogC:: syslog sendto on UDP socket to '192.168.10.254' failed
000000.545|boot |*|01|Using TFFS for flash load
000000.550|boot |*|01|Code length:         0x00386B37
000000.550|boot |*|01|Code checksum:       0x1C193141
000001.425|so   |3|01|Link status is Net down, PC down.
000003.425|so   |3|01|Link status is Net up Speed 100 full Duplex, PC down.
000015.735|app1 |4|01|Loaded application sip.ld from local system successfully.

app.log :

000006.676|log  |*|03|---------- Initial log entry ----------
000006.678|so   |*|03|Platform: Model=SoundPoint IP 331, Assembly=2345-12365-001 Rev=B Region=
000006.678|so   |*|03|Platform: Interface    eth0 MAC=0004f2abb731
000006.678|so   |*|03|Platform: BootBlock=3.0.2.0024 (12365-001) 30-Nov-10 14:56
000006.678|so   |*|03|Platform: Updater=5.0.11.0282 08-Jun-16 19:39
000006.680|so   |*|03|Application, main: Label=SIP, Version=Mink 4.0.11.0583 21-Jun-16 17:15
000006.680|so   |*|03|Application, main: P/N=3150-11530-409
000006.680|rdisk|*|03|RAM disk created, size: 4,194,304 bytes
000006.680|ocsp |*|03|O.C.S.P. Enabled = 0
000006.682|tls  |*|03|Initial log entry. Current logging level 4
000006.734|pmt  |*|03|Initial log entry. Current logging level 4
000006.736|wdog |*|03|Initial log entry. Current logging level 4
000006.736|ethf |*|03|Initial log entry. Current logging level 4
000006.736|hw   |*|03|Initial log entry. Current logging level 4
000006.736|ares |*|03|Initial log entry. Current logging level 4
000006.738|dns  |*|03|Initial log entry. Current logging level 4
000006.738|cfg  |*|03|Initial log entry. Current logging level 4
000006.740|dot1x|*|03|Initial log entry. Current logging level 4
000006.744|cfg  |5|03|RT|Error installing DHCP event hook.
000006.756|log  |4|03|UtilLogC:: syslog sendto on UDP socket to '192.168.10.254' failed
000006.804|lic  |*|03|Initial log entry. Current logging level 4
000007.962|curl |*|03|Initial log entry. Current logging level 4
000007.962|utilm|*|03|Initial log entry. Current logging level 4
000007.962|copy |*|03|Initial log entry. Current logging level 4
000007.962|rtos |*|03|Initial log entry. Current logging level 4
000007.964|sec  |*|03|Initial log entry. Current logging level 4
000007.968|so   |*|03|Configuration files: Config
000008.022|log  |*|03|Log render level set to 0
000008.086|srtp |*|03|Initial log entry. Current logging level 4
000008.088|res  |*|03|Initial log entry. Current logging level 4
000008.092|httpa|*|03|Initial log entry. Current logging level 4
000008.092|lldp |*|03|Initial log entry. Current logging level 0
000008.092|cdp  |*|03|Initial log entry. Current logging level 4
000008.094|sys  |*|03|Initial log entry. Current logging level 4
000008.162|ssps |*|03|Initial log entry. Current logging level 4
000008.162|so   |*|03|soCodecConfig: Explicitly Adding codecG722 for PTT
000008.946|lldp |1|03|Received LLDP packet from 00 04 f2 ab b7 31.
000008.946|lldp |1|03|Received LLDP packet from f0 de f1 62 0e 30.
000008.946|lldp |1|03|Sending LLDP packet with length (lldpPktLen= 379)
000009.946|lldp |1|03|Received LLDP packet from 00 04 f2 ab b7 31.
000009.946|lldp |2|03|Ignoring LLDP packet from other than host.
000009.946|lldp |1|03|Sending LLDP packet with length (lldpPktLen= 379)
000009.948|lldp |1|03|Received LLDP packet from f0 de f1 62 0e 30.
000009.948|lldp |2|03|Ignoring LLDP packet from other than host.
000010.594|so   |*|03|System Info Reports:
000010.594|so   |*|03|    CPU is TNETV1057/C55x, rev 2 running at 87.500MHz with memory at 87.500MHz.
000010.594|so   |*|03|    Board is identified as PolycomSoundPointIP-SPIP_331.
000010.594|so   |*|03|    DRAM_LO: 0x94000000.  DRAM_SIZE: 32 MB
000010.594|so   |*|03|    Clocks are VBUSP: 87.500MHz, VBUS: 75.000MHz, USB: 25.000MHz, LCD: 87.500MHz, DSP: 87.500MHz.
000010.594|so   |*|03|  NOR flash detected is 9
000010.594|key  |*|03|Initial log entry. Current logging level 4
000010.598|httpd|*|03|Initial log entry. Current logging level 4
000010.600|poll |*|03|Initial log entry. Current logging level 4
000010.600|push |*|03|Initial log entry. Current logging level 4
000010.600|poll |*|03|Initial log entry. Current logging level 4
000010.600|poll |*|03|Initial log entry. Current logging level 4
000010.600|poll |*|03|Initial log entry. Current logging level 4
000010.600|poll |*|03|Initial log entry. Current logging level 4
000010.602|poll |*|03|Initial log entry. Current logging level 4
000010.602|ht   |*|03|Initial log entry. Current logging level 4
000010.602|dbuf |*|03|Initial log entry. Current logging level 4
000010.606|ssps |*|03|Application, comp. 1: Label=PolyDSP Titan Mem1 FS4, Version=6.1.1.0010 11-Jul-12 19:00
000010.606|ssps |*|03|Application, comp. 1: P/N=3150-11580-611.
000010.606|pps  |*|03|Initial log entry. Current logging level 4
000010.606|sip  |*|03|Initial log entry. Current logging level 4
000010.608|ptt  |*|03|Initial log entry. Current logging level 4
000010.900|so   |*|03|Using TCP IP Media Port, configured initial RTP port 2222
000010.932|sshc |*|03|Initial log entry. Current logging level 4
000010.936|cmp  |*|03|Initial log entry. Current logging level 4
000010.936|wmgr |*|03|Initial log entry. Current logging level 4
000010.946|lldp |1|03|Received LLDP packet from 00 04 f2 ab b7 31.
000010.946|lldp |2|03|Ignoring LLDP packet from other than host.
000010.946|lldp |1|03|Sending LLDP packet with length (lldpPktLen= 379)
000010.948|lldp |1|03|Received LLDP packet from f0 de f1 62 0e 30.
000010.948|lldp |2|03|Ignoring LLDP packet from other than host.
000010.958|slog |*|03|Initial log entry. Current logging level 3
000011.140|app1 |*|03|Initial log entry. Current logging level 4
000011.140|app1 |4|03|Default StatusBar is disabled
000011.144|app1 |4|03|mb.main.home parameter is empty
000011.148|mb   |*|03|Initial log entry. Current logging level 4
000011.226|ldap |*|03|Initial log entry. Current logging level 4
000011.226|ldap |4|03|cDynamicData::cDynamicData:cDynamicData:Failed
000011.254|efk  |*|03|Initial log entry. Current logging level 4
000011.362|app1 |4|03|[AppUserLoginC::Init]:flushing user cache file failed
000011.576|utilm|4|03|uBLFCompressed: File /ffs0/local/local-directory_xml.zzz does not exist or is empty
000011.946|lldp |1|03|Received LLDP packet from 00 04 f2 ab b7 31.
000011.946|lldp |2|03|Ignoring LLDP packet from other than host.
000011.946|lldp |1|03|Sending LLDP packet with length (lldpPktLen= 379)
000011.948|lldp |1|03|Received LLDP packet from f0 de f1 62 0e 30.
000011.950|lldp |2|03|Ignoring LLDP packet from other than host.
000012.946|lldp |1|03|Received LLDP packet from 00 04 f2 ab b7 31.
000012.946|lldp |2|03|Ignoring LLDP packet from other than host.
000012.946|lldp |1|03|Sending LLDP packet with length (lldpPktLen= 379)
000015.946|lldp |3|03|LLDP did not receive a response from a switch. Disabling LLDP.
000015.952|cfg  |*|03|RT|cfgRtNetInterfaceUpdate: Network not initialized
000021.474|cfg  |*|03|RT|   Phone IP address is 192.168.10.50.
000021.474|cfg  |*|03|RT|   Subnet mask is 255.255.255.0.
000021.476|cfg  |*|03|RT|   Gateway address is 192.168.10.254.
000021.476|cfg  |*|03|RT|DHCP: Alternate DNS server is not specified
000021.476|cfg  |*|03|RT|   DNS server is 192.168.10.254.
000021.478|dns  |*|03|DNS resolver servers are '192.168.10.254' '0.0.0.0'
000021.478|dns  |*|03|DNS resolver search domain is ''
000021.482|cfg  |*|03|RT|Primary IP changed to 192.168.10.50 subnet mask 255.255.255.0
000021.482|cfg  |*|03|RT|cfgRtNetInterfaceUpdate: bfeng -- calling network status callback
000021.482|cfg  |*|03|RT|cfgRtNetInterfaceUpdate: bfeng -- calling network status callback
000021.520|sys  |*|03|0x95873910 (tDhcpcStateTask): arp_check: No reply, addr not used
000021.546|so   |*|03|Network initialized. Starting network tasks.
000021.548|log  |*|03|Install file upload callback for 'so'

000021.586|sip  |*|03|Fast Boot Measurement Point: Ready for Call, uptime: 21.586 sec.
000021.606|app1 |5|03|Corporate directory instance does not exists.
000021.738|so   |4|03|Could not find IP address for SNTP server. 86400
000021.904|utilm|4|03|uBLFCompressed: File /ffs0/local/local-directory_xml.zzz does not exist or is empty
000022.128|utilm|4|03|uBLFCompressed: File /ffs0/local/local-directory_xml.zzz does not exist or is empty
000022.694|cfg  |*|03|Prov|Starting to update 2345-12365-001.sip.ld
000022.886|cfg  |4|03|Prov|Some configuration files could not be obtained, reverting to previous config
000023.546|cfg  |*|03|Prov|Finished updating configuration
000023.742|log  |4|03|UtilLogC::uploadFifoLog: upload error. protocol 0 result = -1
000023.926|log  |4|03|UtilLogC::uploadFifoLog: upload error. protocol 0 result = -1
000023.936|log  |4|03|Failed to upload boot log on start up.
000024.180|log  |4|03|UtilLogC::uploadFifoLog: upload error. protocol 0 result = -1
000024.406|log  |4|03|UtilLogC::uploadFifoLog: upload error. protocol 0 result = -1

 

Message 7 of 11
Highlighted
Polycom Employee & Community Manager

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hello VAD,

As Nathan commented only an Empty Port Description (TLV length 0 ) within an LLDP packet would cause the phone to ignore it.

 

In regards of Ignoring the LLDP packet it simply ignores its own Packet as you can see it is a Polycom MAC.

 

Looking at a working scenario (at the end without TLV aka not working to yours) it seems yours contains much more details and is in a different layout:

 

LLDP_Customer.PNG

 

Looking at your MAC the phone was sold by ScanSource Video Communications Sarl back in 15/01/2014 so it is well out of warranty.

 

Your reseller can open a PPI / Pay Per Incident Ticket for you in case you want our support team to look at this.

 

We do not have any issues using normal switches to get a VLAN via LLDP so unfortunately you on your own.

 

Have you looked at the DHCP VLAN options instead?


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 8 of 11
Occasional Advisor

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hi.

 

As you pointed out, my Port Description isn't empty so I don't think it's the problem here.

I can try to change the fields layout and see if it solves the problem. Thanks for your PNG sample.

 

Do you know what this "ignoring host" story is all about ? I think this is the point and I can't find any data about this notion. So I'm pretty sad.

 

I'm requested to make LLDP work with Polycom phones. I don't have the power nor the right to change this decision, and I can't default to DHCP VLAN or CDP. I don't need voice VLAN autoconfiguration ; I need it to be done with LLDP.

 

I don't think this is a warranty problem. I just need to know what are the phone expectations.

 

I will try to have this PPI ticket made. Is it possible for an enterprise to open a ticket, even if it is not a reseller ? I woul prefer to talk about it directly, rather than indirectly. It would be much more efficient.

Message 9 of 11
Polycom Employee & Community Manager

Re: SountPoint IP 331, lldpd and voice VLAN detection

Hello VAD,

Ignoring Host means it is ignoring its own LLDP packet which seems to be relayed back to it. If you look before the message it is sending a packet which it also seems to receive.

 

Again this is a very unusual setup but if you work for who your Email domain is we already deal directly with this organisation.

 

I will send you and Email once you confirm this.

Best Regards

Steffen Baier

Polycom Global Services




<======== Signature / Disclaimer ========>
Please be aware:For questions about the type of support to expect please check here

Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

The title Polycom Employee & Community Manager is an automatic setting within the community and any forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Poly employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and maybe answered on weekends, bank holidays or personal holidays.
Message 10 of 11