Using the Open Source software, CDPR (Cisco Discovery Protocol Reporter) from SourceForge, you can decode CDP advertisements from within Windows to find out which port on which switch you are connected to.
the process:
1. install winpcap from here
2. download CDPR windows version from here
3. Open a command prompt window, change to the directory where cdpr.exe is located and type cdpr . You will be asked to select a number corresponding to a particular network adapter where you wish to decode CDP packets from. Enter the relevant number and press enter.
references:
Where art thou? – CDPR
Advertisement