CDPR is the Cisco Discovery Protocol Reporter. This software will tell you which switch and port your device is plugged into. It is known to compile and run on Solaris, Linux, HP-UX, AIX and Windows (using pcap). In verbose mode, it decodes the entire CDP packet including information such as native VLAN, device capabilities, etc. It also has the ability to report the data back to a server so that you can use CDPR to keep an ever updating database of which devices are on which switch port. This code has had several additions made to it at the request of Cisco and is used in many of their labs.

Extracted automatically from Cdpr homepage

Install Cdpr

brew install cdpr


This formula has no dependencies.