DOKK / manpages / debian 12 / ladvd / ladvd.8.en
LADVD(8) System Manager's Manual LADVD(8)

ladvd - send link layer advertisements

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. Please note that only physical or bond/bridge interfaces can be specified, vlan interfaces can only be auto-detected.

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.
Exclude a particular interface, no packets will be transmitted on this interface.
Run in the foreground and send logging to stderr.
Print usage instructions.
The management interface for this host. Addresses on this interface are auto-detected (IPv4 and IPv6).
Use addresses of the management interface specified via -m for all interfaces.
Run only once, useful for quick troubleshooting.
Receive packets, and use them for various features.
Be silent, don't transmit any packets.
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.
Switch to this user (defaults to ladvd)
Increase logging verbosity.
Use wireless interfaces.
Save received peer hostname and port description in interface descriptions (requires SIOCSIFDESCR support) or Linux ifAliases. This also enables receive mode.
Save received peer hostname and port name in interface descriptions (requires SIOCSIFDESCR support) or Linux ifAliases. This also enables receive mode.
Specify a two-letter ISO 3166 country code (required for LLDP location support).
Specify the physical location of the host.
Enable LLDP (Link Layer Discovery Protocol).
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 <sten@blinkenlights.nl>

July 19, 2009 ladvd