Using Cisco Discovery Protocol Reporter

In this video, learn how this free tool can help you spot what ports a device is connected to for network analysis.

Tony Fortunato

December 5, 2017

1 Min Read
Network Computing logo

If you're a network analyst, sooner or later you'll encounter a situation where you need to verify, document or determine what port a device is connected to.

If you’re lucky, you can look at the cable or jack identifier, reference your network documentation and you are good to go. But what do you do when you can’t easily access the cables, they aren’t labeled or you believe they aren’t labeled correctly? Moreover, what do you do for remote troubleshooting?

With many switch vendors, there are network management platforms to easily perform a switch inventory using SNMP or Telnet/SSH access. Unfortunately, there are many situations where that isn’t possible. In this video, I demonstrate a free command-line tool that decodes Cisco Discovery Protocol (CDP) packets to see device identities, IP addresses, and port numbers to which a device is connected. Cisco Discovery Protocol Reporter (CDPR) is a handy utility that uses WinPcap to display CDP packets. I've used CDPR for more than 10 years and find it incredibly helpful.

You also can leverage CDP using manual commands on a Cisco platform if you are fortunate enough to have access. Another technique involves capturing a CDP packet using Wireshark, which does not require having access to the device.

About the Author(s)

Tony Fortunato

Sr Network Performance Specialist

Tony Fortunato is a network performance expert who has been designing, implementing and troubleshooting networks since 1989. His company, The Technology Firm, provides clients of all sizes with services ranging from project management, network design, consulting, troubleshooting, designing custom-designed training courses, and assisting with equipment installation. Tony's experience in networking started with financial trading floor networks and ISPs, where he learned to integrate and support equipment from various vendors. Tony has taught and presented at numerous colleges and universities, public forums and private classes. He blogs frequently at NetworkDataPediaand has a popular YouTube channel.

SUBSCRIBE TO OUR NEWSLETTER
Stay informed! Sign up to get expert advice and insight delivered direct to your inbox
More Insights