Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375589 - cdp-tools-1.0.ebuild (New Package)
Summary: cdp-tools-1.0.ebuild (New Package)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 17:09 UTC by Brovkovich Ivan
Modified: 2011-07-22 12:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cdp-tools-1.0.ebuild (cdp-tools-1.0.ebuild,713 bytes, text/plain)
2011-07-18 17:09 UTC, Brovkovich Ivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brovkovich Ivan 2011-07-18 17:09:13 UTC
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/
Comment 1 Brovkovich Ivan 2011-07-18 17:30:20 UTC
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#