• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/11-Mar-2024-226165

CMakeLists.txtD11-Mar-2024187 95

KconfigD11-Mar-20241.2 KiB5340

README.rstD11-Mar-20241.1 KiB4431

prj.confD11-Mar-20242.2 KiB8044

sample.yamlD11-Mar-2024284 1716

README.rst

1.. _lldp-sample:
2
3LLDP Sample Application
4#######################
5
6Overview
7********
8
9The Link Layer Discovery Protocol sample application for Zephyr will enable
10LLDP support and setup VLANs if needed.
11
12The source code for this sample application can be found at:
13:zephyr_file:`samples/net/lldp`.
14
15Requirements
16************
17
18- :ref:`networking_with_host`
19
20Building and Running
21********************
22
23A good way to run this sample LLDP application is inside QEMU,
24as described in :ref:`networking_with_qemu` or with embedded device like
25FRDM-K64F. Note that LLDP is only supported for boards that have an ethernet
26port.
27
28Follow these steps to build the LLDP sample application:
29
30.. zephyr-app-commands::
31   :zephyr-app: samples/net/lldp
32   :board: <board to use>
33   :conf: prj.conf
34   :goals: build
35   :compact:
36
37Setting up Linux Host
38=====================
39
40If you need VLAN support in your network, then the
41:zephyr_file:`samples/net/vlan/vlan-setup-linux.sh` provides a script that can be
42executed on the Linux host. It creates two VLANs on the Linux host and creates
43routes to Zephyr.
44