ladvd [ -a ] [ INTERFACE ] [ INTERFACE ] ...


ladvd sends LLDP (Link Layer Discovery Protocol) advertisements on all available interfaces. This makes connected hosts visible on managed switches. By default it will run as a privilege-separated daemon. Additional protocols can be enabled using the -C, -E, -F and -N options. Optionally a list of interfaces which ladvd should utilize can be supplied.


ladvd detects and uses all configured (UP) physical Ethernet interfaces by default, wireless interfaces can be enabled via the -w option. Additionally ladvd will recognize bundled interfaces (bridges, bonding) and use these to transmit additional information. The result is that normally it should not be necessary to specify interfaces on the ladvd command-line. The only reason for specifying interfaces is to explicitly exclude a particular interface.



Auto-enable protocols based on received packets (also enables receive mode).


Dump pcap-compatible packets to stdout which can be piped to tcpdump (via "| tcpdump -r -") or redirected to a file for further analysis.


Run in the foreground and send logging to stderr.


Print usage instructions.

-m address

Management address for unnumbered interfaces, can be specified for IPv4 and IPv6.


Use management addresses specified via -m for all interfaces.


Run only once, useful for quick troubleshooting.


Receive packets, and use them for various features.


Use each interface's hwaddr the generate the chassis-id TLV. Not recommended because the chassis-id should be the same for all interfaces.


Use Tun/Tap interfaces.

-u user

Switch to this user (defaults to ladvd)


Increase logging verbosity.


Use wireless interfaces.


Save received peer information in interface descriptions (requires SIOCSIFDESCR support). This also enables receive mode.

-c <CC>

Specify a two-letter ISO 3166 country code (required for LLDP location support).

-l <location>

Specify the physical location of the host.


Enable CDP (Cisco Discovery Protocol).


Enable EDP (Extreme Discovery Protocol).


Enable FDP (Foundry Discovery Protocol).


Enable NDP (Nortel Discovery Protocol) formerly called SynOptics Network Management Protocol (SONMP).


Sten Spans <[email protected]>