Created attachment 280315 [details] cdp-tools-1.0.ebuild Hello 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 net-libs/libpcap-1.1.1 net-libs/libnet-1.1.5 it works great. Great tutorial located at: http://openmaniak.com/cdp.php Homepage: http://gpl.internetconnection.net/
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# s1# s1# s1# s1#show cdp neighbors detail ------------------------- Device ID: MyBestGirl Entry address(es): IP address: 10.10.1.1 Platform: i686, Capabilities: Host Interface: FastEthernet1/15, Port ID (outgoing port): cis2 Holdtime : 176 sec Version : Linux 2.6.34-xen-r4 advertisement version: 2 s1#