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. Please note that only physical or bond/bridge interfaces can be
18 specified, vlan interfaces can only be auto-detected.
19
21 ladvd detects and uses all configured (UP) physical Ethernet interfaces
22 by default, wireless interfaces can be enabled via the -w option. Addi‐
23 tionally ladvd will recognize bundled interfaces (bridges, bonding) and
24 use these to transmit additional information. The result is that nor‐
25 mally it should not be necessary to specify interfaces on the ladvd
26 command-line. The only reason for specifying interfaces is to explic‐
27 itly exclude a particular interface.
28
30 -a Auto-enable protocols based on received packets (also enables
31 receive mode).
32
33 -d Dump pcap-compatible packets to stdout which can be piped to
34 tcpdump (via "| tcpdump -r -") or redirected to a file for fur‐
35 ther analysis.
36
37 -e interface
38 Exclude a particular interface, no packets will be transmitted
39 on this interface.
40
41 -f Run in the foreground and send logging to stderr.
42
43 -h Print usage instructions.
44
45 -m interface
46 The management interface for this host. Addresses on this inter‐
47 face are auto-detected (IPv4 and IPv6).
48
49 -n Use addresses of the management interface specified via -m for
50 all interfaces.
51
52 -o Run only once, useful for quick troubleshooting.
53
54 -r Receive packets, and use them for various features.
55
56 -s Be silent, don't transmit any packets.
57
58 -q Use each interface's hwaddr the generate the chassis-id TLV. Not
59 recommended because the chassis-id should be the same for all
60 interfaces.
61
62 -t Use Tun/Tap interfaces.
63
64 -u user
65 Switch to this user (defaults to ladvd)
66
67 -v Increase logging verbosity.
68
69 -w Use wireless interfaces.
70
71 -y Save received peer hostname and port description in interface
72 descriptions (requires SIOCSIFDESCR support) or Linux ifAliases.
73 This also enables receive mode.
74
75 -z Save received peer hostname and port name in interface descrip‐
76 tions (requires SIOCSIFDESCR support) or Linux ifAliases. This
77 also enables receive mode.
78
79 -c <CC>
80 Specify a two-letter ISO 3166 country code (required for LLDP
81 location support).
82
83 -l <location>
84 Specify the physical location of the host.
85
86 -L Enable LLDP (Link Layer Discovery Protocol).
87
88 -C Enable CDP (Cisco Discovery Protocol).
89
90 -E Enable EDP (Extreme Discovery Protocol).
91
92 -F Enable FDP (Foundry Discovery Protocol).
93
94 -N Enable NDP (Nortel Discovery Protocol) formerly called SynOptics
95 Network Management Protocol (SONMP).
96
98 Sten Spans <sten@blinkenlights.nl>
99
100
101
102ladvd July 19, 2009 LADVD(8)