Created attachment 280315 [details]
cdp-tools is a set of tools for working with the Cisco Discovery Protocol
The Cisco Discovery Protocol (CDP) is a proprietary layer 2 network protocol developed by Cisco Systems. It is useful for two reasons:
* getting information about the directly connected CDP devices such as the operating system version and IP address.
* checking that the OSI layer 2 connectivity is okay in case of IP (OSI layer 3) connectivity problems.
Enabling CDP on Linux systems can be interesting on routers like Quagga and Vyatta in a Cisco environment.
The package include two tools:
* cdp-send is used to send CDP traffic to directly connected devices.
* cdp-listen is used to receive CDP packets.
I am tested it on x86 with
it works great.
Great tutorial located at: http://openmaniak.com/cdp.php
My workstation shown on my Cisco Catalyst 2950
s1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
MyBestGirl Fas 1/15 120 H i686 cis2
s1#show cdp neighbors detail
Device ID: MyBestGirl
IP address: 10.10.1.1
Platform: i686, Capabilities: Host
Interface: FastEthernet1/15, Port ID (outgoing port): cis2
Holdtime : 176 sec
advertisement version: 2