LADVDC(8)

okay bestie, gather round, because this one is from the System Manager's Manual and it is genuinely iconic. it's ladvdc, and yes, the 8 means it's a system-manager-flavoured page, so act accordingly πŸ’…


✨ NAME ✨

ladvdc β€” display link layer advertisements πŸ¦‹


✨ SYNOPSIS ✨

ladvdc [ INTERFACE ] [ INTERFACE ] ...

✨ DESCRIPTION ✨

so basically ladvdc shows you the link layer advertisements that ladvd(8) received β€” but ONLY if that daemon is running in receive mode, which you get via -a or -z. no receive mode, no tea, no exceptions 😭

and like, you don't have to take everything it throws at you. you can optionally hand it a list of protocols and/or interfaces, and it'll limit how much info it displays. picky is cute, slay.

🚨 important vibe check: only users in the ladvd group are allowed to connect to the daemon. not your group, not your bestie's group β€” ladvd. periodt.

✨ OPTIONS ✨

  • -b β€” prints the output in a format that's suitable for dropping into shell scripts 🐚 (script girlies, this one's for you)
  • -d β€” dumps pcap-compatible packets to stdout, so you can pipe them into tcpdump (like, via "| tcpdump -r -") or just redirect them into a file for further analysis πŸ“¦
  • -f β€” prints a full decode of each advertisement. and before you get excited… it's not implemented πŸ’€ bestie it's literally not there
  • -h β€” prints usage instructions 🫢 the classic
  • -o β€” only prints the first advertisement βœ‹ one and done, we love a minimalist
  • -p http://domain.tld/script β€” posts decoded packets to the supplied url 🌐
  • -v β€” increases logging verbosity πŸ—£οΈ more words, more chaos
  • -L β€” parses LLDP (Link Layer Discovery Protocol) πŸ”₯
  • -C β€” parses CDP (Cisco Discovery Protocol) πŸ‘‘
  • -E β€” parses EDP (Extreme Discovery Protocol) ⚑
  • -F β€” parses FDP (Foundry Discovery Protocol) 🏭
  • -N β€” parses NDP (Nortel Discovery Protocol), which used to be called SynOptics Network Management Protocol (SONMP) 🌈 β€” glow-up AND a rebrand, we stan

✨ AUTHOR ✨

Sten Spans <sten@blinkenlights.nl> β€” thank you for your service, king πŸ«‘πŸ’œ


and that's the whole page, bestie! this version of ladvdc came out on April 19, 2010 β€” so yeah, it's vintage, it's retro, it's giving classic system manager's manual energy, and it still ate πŸ’…βœ¨ mwah, go read your advertisements πŸŽ€