`lldpd` allows you to view [[Link Layer Discovery Protocol|LLDP]] information which allows you to know exactly on which port is a server (and reciprocally). # Installation ## MacOS ### Homebrew ```bash brew install lldpd ``` ```bash sudo brew services start lldpd ``` # Usage ## Launch the CLI ```bash lldpcli ``` ## See your neighbors This command should allow you to see the information about what you are directly connected to (your neighbors) ```bash show neighbors ``` example output: ![[Pasted image 20260106161957.png]] also for more detail ```bash show neighbors detail ``` output: ![[Pasted image 20260106162022.png]]