LLDP on OVS

iwik

Member
Oct 7, 2021
52
11
13
43
Hi,
I wanted to see my pve on mikrotik switch so I was searching how to enable LLDP on openvswitch, which I am using on my PVE.
I have found this guide
https://www.reddit.com/r/linuxadmin/comments/j6va3c/howto_enable_basic_lldp_in_open_vswitch/
but after setting AutoAttach my vlan tagged connectivity stopped working.

506 ovs-vsctl set interface eth0 lldp:enable=true 507 ovs-vsctl set interface eth1 lldp:enable=true 508 ovs-vsctl add-aa-mapping vmbr0 0 0 509 ovs-vsctl set AutoAttach . system_name="pve.lan.iwik.org"

No idea now how to get it working again.
I have deleted mapping
ovs-vsctl del-aa-mapping vmbr0 0 0
but without success.

ovs-vsctl emer-reset did not help.

What to check? What to do?
 
I did not manage to get it working other way than rebooting PVE :(
This clears whole openvswitch database. Then I have installed
lldpd
which just works!
 
Last edited: