Personal tools
You are here: Home Networking Map devices to switch ports (unfinished)

Map devices to switch ports (unfinished)

by jack — last modified 2009-05-22 20:41

Hacking CDP for fun and profit

There used to be a link to an ancient post with an unfinished tool on an antique forum here, but it went away. The concept was to use Cisco Discovery Protocol to figure out which switch port your clients are attached to.

 

Sounds like a good idea. If you can find a command line driven tool that gets the information, I can add it to ldms_auto_gateway or ldms_client

.


This concept looks promising... there's even a direct libpcap interface in Perl, so I could do my own special purpose program instead of using a port of tcpdump. That part where it'll take up to 60 seconds is concerning though. Maybe I could have ldms_auto_gateway do it on /ipaddr trigger, then write it to a registry value for ldms_client to pick up and report.

Server Says:
BOFH excuse #293:

You must've hit the wrong any key.
Safety First!
203 Days without a Dumpster fire.
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: