Network Inventory .. What a nightmare to keep up-to-date!
Luckily, if you use Cisco switches, CDPR is here to help you discover where do all your network cables end up.. Simply run it on your linux server, wait a few seconds, and your cisco switch will broadcast the info.
Read about it at http://www.debian-administration.org/article/Where_art_thou_-_CDPR.
The opposite is also useful as well.. A daemon run on linux systems that speaks Cisco Discovery Protocol, thus showing up on your switch’s cdp neighborhood ..
sw-02>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform Port ID sw-01 Fas 0/23 150 S I WS-C3550-1Gig 0/4 router-01 Fas 0/24 158 R 3640 Fas 0/0 linux.local Fas 0/19 176 H Linux eth0 sw-02>show cdp neighbors detail Device ID: linux.local Entry address(es): IP address: 192.168.1.11 Platform: Linux, Capabilities: Host Interface: FastEthernet0/19, Port ID (outgoing port): eth0 Holdtime : 160 sec Version : Linux 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 advertisement version: 2 Duplex: full Management address(es):