パーソナルツール
現在の場所: ホーム Networking Map devices to switch ports (unfinished)

Map devices to switch ports (unfinished)

作成者 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:
Nasrudin returned to his village from the imperial capital, and the villagers
gathered around to hear what had passed. "At this time," said Nasrudin, "I
only want to say that the King spoke to me." All the villagers but the
stupidest ran off to spread the wonderful news. The remaining villager
asked, "What did the King say to you?" "What he said -- and quite distinctly,
for everyone to hear -- was 'Get out of my way!'" The simpleton was overjoyed;
he had heard words actually spoken by the King, and seen the very man they
were spoken to.
Safety First!
243 Days without a Dumpster fire.
 

Powered by Plone CMS, the Open Source Content Management System

このサイトは次の標準に準拠しています: