Download tool from: https://www.definit.co.uk/2010/02/trace-cables-the-easy-way-with-cisco-cdp-on-windows/ Example of usage: Step1: c:\temp\tcpdump>tcpdump.exe -D ******************************************************************** ** ** ** Tcpdump v4.9.2 (September 03, 2017) ** ** http://www.tcpdump.org ** ** ** ** Tcpdump for Windows is built with Microolap Packet Sniffer SDK ** ** Microolap EtherSensor product family ** ** >>> build 5072.01 June 10, 2019 >> build 5072.01 June 10, 2019{"id":1631,"date":"2021-04-30T09:23:12","date_gmt":"2021-04-30T01:23:12","guid":{"rendered":"https:\/\/www.itforce.mn\/?p=1631"},"modified":"2021-04-30T10:13:53","modified_gmt":"2021-04-30T02:13:53","slug":"trace-cables-the-easy-way-with-cisco-cdp-on-windows","status":"publish","type":"post","link":"https:\/\/www.itforce.mn\/index.php\/2021\/04\/30\/trace-cables-the-easy-way-with-cisco-cdp-on-windows\/","title":{"rendered":"TRACE CABLES THE EASY WAY WITH CISCO CDP ON WINDOWS"},"content":{"rendered":"<p>Download tool from:<br \/>\nhttps:\/\/www.definit.co.uk\/2010\/02\/trace-cables-the-easy-way-with-cisco-cdp-on-windows\/<\/p>\n<p>Example of usage:<br \/>\nStep1:<\/p>\n<pre>\r\nc:\\temp\\tcpdump><strong>tcpdump.exe -D<\/strong>\r\n\r\n********************************************************************\r\n**                                                                **\r\n**              Tcpdump v4.9.2 (September 03, 2017)               **\r\n**                   http:\/\/www.tcpdump.org                       **\r\n**                                                                **\r\n** Tcpdump for Windows is built with Microolap Packet Sniffer SDK **\r\n**              Microolap EtherSensor product family              **\r\n**               >>> build 5072.01 June 10, 2019 <<<              **\r\n**                                                                **\r\n**        Copyright(c) 1997 - 2019 Microolap Technologies         **\r\n**       http:\/\/microolap.com\/products\/network\/ethersensor        **\r\n**         http:\/\/microolap.com\/products\/network\/tcpdump          **\r\n**                                                                **\r\n**                  XP\/2003\/Vista\/2008\/Win7\/Win8                  **\r\n**                 Win2012\/Win10\/Win2016\/Win2019                  **\r\n**               (UEFI and Secure Boot compatible)                **\r\n**                                                                **\r\n**                       Trial license.                           **\r\n**                                                                **\r\n********************************************************************\r\n\r\n1.\\Device\\{F4F682D0-3FEA-4DF1-9385-878235FC4177} (Intel(R) I350 Gigabit Network Connection)\r\n2.\\Device\\{FF4C946F-ADB3-4DC9-A61A-A91973AFD7E8} (Intel(R) I350 Gigabit Network Connection)\r\n3.\\Device\\{6C48897F-B39D-4298-B3D3-19402E588D0E} (Intel(R) I350 Gigabit Network Connection)\r\n4.\\Device\\{D6A49332-2416-4227-89F5-55A5AA19578F} (Intel(R) Ethernet Converged Network Adapter X710)\r\n5.\\Device\\{7C3220F8-224E-4867-B050-E252D849E404} (Intel(R) Ethernet Converged Network Adapter X710-2)\r\n6.\\Device\\{9A86189E-CD60-4FD6-93C5-64E8DF14337D} (Intel(R) Ethernet Converged Network Adapter X710-2)\r\n7.\\Device\\{32BBADAE-BA53-433C-B796-C51CC9526F23} (Intel(R) I350 Gigabit Network Connection)\r\n8.\\Device\\{B87C05E6-1BF1-4126-AF7C-E01BC0D507DD} (Intel(R) Ethernet Controller X540-AT2)\r\n9.\\Device\\{543DFBD5-610B-4165-B9B2-B1C6447272C7} (Intel(R) Ethernet Converged Network Adapter X710)\r\n10.\\Device\\{CB9851A4-A64A-4F31-8AF8-97A812217C44} (Intel(R) Ethernet Controller X540-AT2)\r\n<\/pre>\n<p>which of interfaces is our?<br \/>\nStep2:<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.itforce.mn\/wp-content\/uploads\/2021\/04\/cdp.png\" alt=\"\" width=\"1902\" height=\"995\" class=\"alignnone size-full wp-image-1634\" \/><\/p>\n<p>Step3:<br \/>\nNow we know value for parameter -i<\/p>\n<pre>\r\nc:\\temp\\tcpdump>tcpdump -i 1 -nn -v -s 1500 -c 1 ether[20:2] == 0x2000\r\n\r\n********************************************************************\r\n**                                                                **\r\n**              Tcpdump v4.9.2 (September 03, 2017)               **\r\n**                   http:\/\/www.tcpdump.org                       **\r\n**                                                                **\r\n** Tcpdump for Windows is built with Microolap Packet Sniffer SDK **\r\n**              Microolap EtherSensor product family              **\r\n**               >>> build 5072.01 June 10, 2019 <<<              **\r\n**                                                                **\r\n**        Copyright(c) 1997 - 2019 Microolap Technologies         **\r\n**       http:\/\/microolap.com\/products\/network\/ethersensor        **\r\n**         http:\/\/microolap.com\/products\/network\/tcpdump          **\r\n**                                                                **\r\n**                  XP\/2003\/Vista\/2008\/Win7\/Win8                  **\r\n**                 Win2012\/Win10\/Win2016\/Win2019                  **\r\n**               (UEFI and Secure Boot compatible)                **\r\n**                                                                **\r\n**                       Trial license.                           **\r\n**                                                                **\r\n********************************************************************\r\n\r\ntcpdump: listening on \\Device\\{F4F682D0-3FEA-4DF1-9385-878235FC4177}, link-type EN10MB (Ethernet), capture size 1500 bytes\r\n10:43:10.037097 CDPv2, ttl: 180s, checksum: 0xca19 (unverified), length 398\r\n        Device-ID (0x01), value length: 22 bytes: <strong>'DC2_AcSw_01.ITFORCE'<\/strong>\r\n        Version String (0x05), value length: 250 bytes:\r\n          Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 16.9.5, RELEASE SOFTWARE (fc1)\r\n          Technical Support: http:\/\/www.cisco.com\/techsupport\r\n          Copyright (c) 1986-2020 by Cisco Systems, Inc.\r\n          Compiled Thu 30-Jan-20 18:08 by mcpre\r\n        Platform (0x06), value length: 19 bytes: <strong>'cisco C9200L-48T-4X'<\/strong>\r\n        Address (0x02), value length: 13 bytes: IPv4 (1) <strong>10.10.10.170<\/strong>\r\n        Port-ID (0x03), value length: 20 bytes: <strong>'GigabitEthernet1\/0\/2'<\/strong>\r\n        Capability (0x04), value length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping\r\n        VTP Management Domain (0x09), value length: 0 bytes: ''\r\n        Native VLAN ID (0x0a), value length: 2 bytes: 80\r\n        Duplex (0x0b), value length: 1 byte: full\r\n        AVVID trust bitmap (0x12), value length: 1 byte: 0x00\r\n        AVVID untrusted ports CoS (0x13), value length: 1 byte: 0x00\r\n        Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 10.10.10.170\r\n1 packet captured\r\n10473 packets received by filter\r\n0 packets dropped by kernel\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-1631","post","type-post","status-publish","format-standard","hentry","category-security","category-smb"],"_links":{"self":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/1631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/comments?post=1631"}],"version-history":[{"count":5,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/1631\/revisions"}],"predecessor-version":[{"id":1637,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/1631\/revisions\/1637"}],"wp:attachment":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/media?parent=1631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/categories?post=1631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/tags?post=1631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}