Poster of Linux kernelThe best gift for a Linux geek
ladvd

ladvd

Section: Maintenance Commands (8) Updated: July 19 2009
Local index Up
 

NAME

ladvd - send link layer advertisements  

SYNOPSIS

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

DESCRIPTION

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.  

INTERFACES

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.  

OPTIONS

-a
Auto-enable protocols based on received packets (also enables receive mode).
-d
Dump pcap-compatible packets to stdout which can be piped to tcpdump (via "| tcpdump -r -") or redirected to a file for further analysis.
-f
Run in the foreground and send logging to stderr.
-h
Print usage instructions.
-m address
Management address for unnumbered interfaces, can be specified for IPv4 and IPv6.
-n
Use management addresses specified via -m for all interfaces.
-o
Run only once, useful for quick troubleshooting.
-r
Receive packets, and use them for various features.
-q
Use each interface's hwaddr the generate the chassis-id TLV. Not recommended because the chassis-id should be the same for all interfaces.
-t
Use Tun/Tap interfaces.
-u user
Switch to this user (defaults to ladvd)
-v
Increase logging verbosity.
-w
Use wireless interfaces.
-z
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.
-C
Enable CDP (Cisco Discovery Protocol).
-E
Enable EDP (Extreme Discovery Protocol).
-F
Enable FDP (Foundry Discovery Protocol).
-N
Enable NDP (Nortel Discovery Protocol) formerly called SynOptics Network Management Protocol (SONMP).
 

AUTHOR

Sten Spans <sten@blinkenlights.nl>


 

Index

NAME
SYNOPSIS
DESCRIPTION
INTERFACES
OPTIONS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 22:01:53 GMT, April 16, 2011