Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] LLDP encoding

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 13 Jun 2017 08:41:14 +0200
On 13-06-17 08:28, sothy shan wrote:
> Hi,
> I am just checking LLDP in mininet with OVS using wireshark.
> My question some data are encoding differently. I wish to know why it is?
> For example, chaissisId type is 1. But it is shown as 02 in your image.
> 
> https://wiki.wireshark.org/LinkLayerDiscoveryProtocol?action=AttachFile&do=view&target=LLDP.png
> 
> Same thing I observed in my testing also. do you have any specific encodign
> technique for LLDP data.
> 
> Thanks for your explanation.
> 
> Best regards
> Sothy
> 
> 

Hi,

Be aware that the TLV type field is a subfield of this 16 bit field. it's only
the seven most significant bits that constitute the subfield in question.
Therefore the value of the subfield is '1', while the representation of the 16
bit field it comes from shows '0x0207'

Thanks,
Jaap