lldp-bar

The LinkRunner is a great networking field tool. I don’t always have one with me, and it can be a bit much to carry just to validate a port config or trace down a switch. I created this tool to put some of that LLDP info right in the menubar.

This plugin runs via SwiftBar. lldp-bar is a Python script that runs when you click on the icon. This simple script captures the lldpd and interface info and returns a menu structure to render. Selecting an option reruns the script with arguments to set an interface or copy some value to the clipboard.

lldp-bar screenshot

Features

  • LLDP neighbors — Port ID/description, VLANs and PVID, chassis name/ID, system description, and interface MAC/IP. Click to copy value to clipboard.
  • Switch access — Each advertised management IP gets one-click actions: open web UI (HTTP/HTTPS), SSH in Terminal, copy IP.
  • IP configuration — Switch any active interface between DHCP and profiles defined in netconfig.json.
  • Serial console — Launch screen sessions for console access.
karlcswanson/lldp-bar