CDP Discovery Using Microsoft’s PKTMON
In this video, I review how to use Microsoft pktmon commands to figure out what port I am connected to without using Wireshark.
February 18, 2022
In previous articles, I have covered some of what I consider troubleshooting best practices and got back some helpful feedback.
One person asked me, “is there a way to figure out what port I am connected to without using Wireshark?” Wow! What a great question. Challenge accepted.
In summary, here's what I did: I used the Windows Packet Monitor (Windows pktmon) command to capture only packets addressed to Cisco’s multicast mac address, converted the trace to a text file, then used Microsoft’s find command to get the info I needed.
In this video, I review a little of the Microsoft Prompt usage and then get into pktmon commands. When using pktmon, it is critical to confirm that you don't have any filters already loaded. I have found that pktmon remembers your filters, even after you reboot your computer. The other important thing to verify is the numeric value that points to the network card you wish to capture from.
Here is a list of the commands I used in the video for your reference.
About the Author
You May Also Like