Hello people,
I am trying to integrate the LS1028 board in a bigger network where I need LLDP service discovery protocol to be running the board. Does the LS1028 supports LLDP? Do we have some libraries available to enable it??
Thanks & Regards,
Sameer
The group in charge of LS1028A software doesn't do any LLDP specific testing.
That being said, there are no known problems surrounding it, since there is no special platform-level support required for LLDP.
In OpenIL 1.8, one can enable BR2_PACKAGE_LLDPD. For testing, the resulting rootfs can be deployed on 2 LS1028A-RDB boards, and a cable connecting eno0 to swp0 can be added.
The lldpd daemon is started automatically by /etc/init.d/S60lldpd. So, the lldpcli can be used directly:
Board 1:
[lldpcli] # show neighbors
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface: swp0, via: LLDP, RID: 1, Time: 0 day, 00:00:14
Chassis:
ChassisID: mac 00:04:9f:05:f4:ab
SysName: LS1028ARDB
SysDescr: Buildroot 2020.02 Linux 5.4.3-rt1 #1 SMP PREEMPT_RT Thu Jun 18 20:20:05 EEST 2020 aarch64
MgmtIP: 10.0.0.118
MgmtIP: fdc4:515b:d932:0:1911:3a70:8089:e509
Capability: Bridge, off
Capability: Router, off
Capability: Wlan, off
Capability: Station, on
Port:
PortID: mac 00:04:9f:05:f4:ab
PortDescr: eno0
TTL: 120
-------------------------------------------------------------------------------
Board 2:
[lldpcli] # show neighbors
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface: eno0, via: LLDP, RID: 1, Time: 0 day, 00:00:06
Chassis:
ChassisID: mac 00:04:9f:05:de:06
SysName: LS1028ARDB
SysDescr: Buildroot 2020.02 Linux 5.4.3-rt1 #1 SMP PREEMPT_RT Thu Jun 18 20:20:05 EEST 2020 aarch64
MgmtIP: 10.0.0.112
MgmtIP: fdc4:515b:d932:0:7c7c:df93:5af5:b85
Capability: Bridge, off
Capability: Router, off
Capability: Wlan, off
Capability: Station, on
Port:
PortID: mac 00:04:9f:05:de:0a
PortDescr: swp0
TTL: 120
-------------------------------------------------------------------------------
So the 2 boards see each other.
It is not mandatory to use lldpd, this is just an example.