[lldp-devel] Receiving PDUs from neighbours but not sending any

John Fastabend john.fastabend at gmail.com
Tue Nov 19 08:17:08 UTC 2013


On 11/14/2013 04:23 AM, Owen Dunn wrote:
> I have lldpad 0.9.43, as provided by Scientific Linux 6.3 (RHEL 6.3
> clone).  I want to be able to use lldptool to read information in PDUs
> being sent by the switch the Linux machine is connected to.
>
> I can see that the switch is sending out PDUs using tcpdump, but if I set
>
>      lldptool -L -i eth2 adminstatus=rx
>
> and then:
>
>      lldptool get-tlv -n -i eth0 -V 1
>
> ...I get no output.  If I enable transmitting my own PDUs with
>
>      lldptool -L -i eth2 adminstatus=rxtx
>
> then I am told the neighbour's chassis ID as expected.
>
> For various reasons I don't really want to send out my own LLDP PDUs, so
> is it actually possible to configure lldpad only to receive, and not
> transmit anything of its own?
>
> (S)

This should work, unfortunately it looks like a bug was introduced when
the 'bridge scope' option was added. I'll post a fix here shortly.

Thanks,
John



-- 
John Fastabend         Intel Corporation


More information about the lldp-devel mailing list