LLDP support in LS1028ARDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LLDP support in LS1028ARDB

1,496 次查看
sameer_chouksey
Contributor II

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 

标记 (3)
0 项奖励
4 回复数

1,391 次查看
sameer_chouksey
Contributor II

Thanks for the responses. 

The LLDP package can be added using the menuconfig while building the OpenIL. After rebuilding the OpenIL with LLDP, it is working fine for me.

Regards,

Sameer 

0 项奖励

1,391 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 项奖励

1,391 次查看
baiyu
Contributor I

Hi,Yiping

As you mentioned, "The lldpd daemon is started automatically by /etc/init.d/S60lldpd."

But i can't find S60lldpd in etc filefolder when trying to do LLDP.

0 项奖励

1,391 次查看
baiyu
Contributor I
0 项奖励