현재 위치: Networking Map devices to switch ports (unfinished)

Map devices to switch ports (unfinished)

by jack — 최종 수정일: 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:
It's a poor workman who blames his tools.
Safety First!
243 Days without a Dumpster fire.
 

Powered by Plone CMS, the Open Source Content Management System

이 사이트는 다음 기준들을 준수합니다: