LADVD(8)
π LADVD β the ladvd(8) glow-up π
okay bestie, gather round, because this one is literally the main character of your managed switch's dreams. It lives in section 8 of the System Manager's Manual, and it's about to make your connected hosts visible. no cap.
β¨ NAME β¨
ladvd β send link layer advertisements π¦
πΈ SYNOPSIS πΈ
ladvd [ -a ] [ INTERFACE ] [ INTERFACE ] ...
π DESCRIPTION π
so ladvd sends LLDP (that's Link Layer Discovery Protocol, iykyk) advertisements on all available interfaces. the whole point? making connected hosts visible on managed switches. iconic behaviour, honestly.
by default it runs as a privilege-separated daemon β very demure, very security-conscious.
want more protocols in the mix? you can enable additional ones with the -C, -E, -F and -N options. slay.
and optionally you can hand it a list of interfaces it should utilize. but heads up, bestie: only physical or bond/bridge interfaces can be specified. vlan interfaces? nope, those can only be auto-detected. the way that vlan interfaces just cannot be named on the command lineβ¦ π
π INTERFACES π
by default ladvd detects and uses all configured (UP) physical Ethernet interfaces. wireless interfaces? those stay quiet unless you pass the -w option. π§
on top of that, ladvd will recognize bundled interfaces (bridges, bonding) and use those to transmit additional information. so basically the result is: normally you should not need to specify interfaces on the ladvd command-line at all. the only reason to specify interfaces is to explicitly exclude a particular interface. that's it. that's the tea. π
β OPTIONS β
-aβ auto-enable protocols based on received packets (this also enables receive mode).-dβ dump pcap-compatible packets to stdout, which you can pipe totcpdump(via| tcpdump -r -) or redirect to a file for further analysis. little forensic girlie moment.-einterface β exclude a particular interface. no packets will be transmitted on this interface. bye bestie π-fβ run in the foreground and send logging to stderr.-hβ print usage instructions.-minterface β the management interface for this host. addresses on this interface are auto-detected (IPv4 and IPv6).-nβ use addresses of the management interface specified via-mfor all interfaces.-oβ run only once, useful for quick troubleshooting.-rβ receive packets, and use them for various features.-sβ be silent, don't transmit any packets. π€«-qβ use each interface's hwaddr to generate the chassis-id TLV. > not recommended, because the chassis-id should be the same for all interfaces. (likeβ¦ pls don't, bestie.)-tβ use Tun/Tap interfaces.-uuser β switch to this user (defaults toladvd).-vβ increase logging verbosity.-wβ use wireless interfaces.-yβ save received peer hostname and port description in interface descriptions (requiresSIOCSIFDESCRsupport) or Linux ifAliases. this also enables receive mode.-zβ save received peer hostname and port name in interface descriptions (requiresSIOCSIFDESCRsupport) or Linux ifAliases. 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.-Lβ enable LLDP (Link Layer Discovery Protocol).-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> β the icon, the legend, the moment. π«Ά
and that's the whole page, bestie. this beauty comes to you from the ladvd source, dated July 19, 2009, living its life as LADVD(8) in the System Manager's Manual. obsessed with her fr fr. πβ¨
π¦ where this page comes from
- debian bookworm: ladvd 1.1.2-2 Β· ISC
- debian trixie: ladvd 1.1.2-4 Β· ISC
- fedora 43: ladvd 1.1.4-3.fc43 Β· ISC
- fedora 44: ladvd 1.1.4-4.fc44 Β· ISC
- ubuntu jammy: ladvd 1.1.2-1build1 Β· ISC
- ubuntu noble: ladvd 1.1.2-3build3 Β· ISC
- ubuntu questing: ladvd 1.1.2-4
- ubuntu resolute: ladvd 1.1.2-4build1 Β· ISC
- ubuntu stonking: ladvd 1.1.2-5 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms