Section: Maintenance Commands (8)Updated: July 19 2009Local indexUp
ladvd - send link layer advertisements
ladvd [ -a ][ INTERFACE ] [ INTERFACE ]...
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
should utilize can be supplied.
detects and uses all configured (UP) physical Ethernet interfaces by default, wireless interfaces can be enabled via the -w option. Additionally
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
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.
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.
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.
Specify a two-letter ISO 3166 country code (required for LLDP location support).