Wireshark mailing list archives

Re: LLDP encoding


From: Jaap Keuter <jaap.keuter () xs4all nl>
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


___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe

Current thread: