1ladvd(8) System Manager's Manual ladvd(8)
2
3
4
6 ladvd - send link layer advertisements
7
9 ladvd [ -a ] [ INTERFACE ] [ INTERFACE ] ...
10
12 ladvd sends LLDP (Link Layer Discovery Protocol) advertisements on all
13 available interfaces. This makes connected hosts visible on managed
14 switches. By default it will run as a privilege-separated daemon. Addi‐
15 tional protocols can be enabled using the -C, -E, -F and -N options.
16 Optionally a list of interfaces which ladvd should utilize can be sup‐
17 plied.
18
20 ladvd detects and uses all configured (UP) physical Ethernet interfaces
21 by default, wireless interfaces can be enabled via the -w option. Addi‐
22 tionally ladvd will recognize bundled interfaces (bridges, bonding) and
23 use these to transmit additional information. The result is that nor‐
24 mally it should not be necessary to specify interfaces on the ladvd
25 command-line. The only reason for specifying interfaces is to explic‐
26 itly exclude a particular interface.
27
29 -a Auto-enable protocols based on received packets (also enables
30 receive mode).
31
32 -d Dump pcap-compatible packets to stdout which can be piped to
33 tcpdump (via "| tcpdump -r -") or redirected to a file for fur‐
34 ther analysis.
35
36 -f Run in the foreground and send logging to stderr.
37
38 -h Print usage instructions.
39
40 -m address
41 Management address for unnumbered interfaces, can be specified
42 for IPv4 and IPv6.
43
44 -n Use management addresses specified via -m for all interfaces.
45
46 -o Run only once, useful for quick troubleshooting.
47
48 -r Receive packets, and use them for various features.
49
50 -q Use each interface's hwaddr the generate the chassis-id TLV. Not
51 recommended because the chassis-id should be the same for all
52 interfaces.
53
54 -t Use Tun/Tap interfaces.
55
56 -u user
57 Switch to this user (defaults to ladvd)
58
59 -v Increase logging verbosity.
60
61 -w Use wireless interfaces.
62
63 -z Save received peer information in interface descriptions
64 (requires SIOCSIFDESCR support). This also enables receive mode.
65
66 -c <CC>
67 Specify a two-letter ISO 3166 country code (required for LLDP
68 location support).
69
70 -l <location>
71 Specify the physical location of the host.
72
73 -C Enable CDP (Cisco Discovery Protocol).
74
75 -E Enable EDP (Extreme Discovery Protocol).
76
77 -F Enable FDP (Foundry Discovery Protocol).
78
79 -N Enable NDP (Nortel Discovery Protocol) formerly called SynOptics
80 Network Management Protocol (SONMP).
81
83 Sten Spans <sten@blinkenlights.nl>
84
85
86
87ladvd July 19 2009 ladvd(8)