Druid CDP Daemon Based on code Copyright (C) 2005 by Michael Chapman Usage: druid_cdpd [-vvlan ] [-ios_version ] [ -f ] [ -p ] [ -v ] -vvlan : Used to set Voice VLAN -ios_version : Used to set Version String sent out in CDP advertisement -f : Don't fork -p : Activate promiscuous mode -v : Set verbosity level To build (for svn release only): Included in the svn checkout is the original code for Net::CDP and a patch to handle voice vlan information. 1) Patch Net::CDP source. > cd Net-CDP-0.09 > patch -p1 < ../perl-Net-CDP-voicevlan.patch 2) Build and install Net::CDP. > perl Makefile.PL INSTALLDIRS=vendor --no-online-tests > make > make pure_install > make test 3) Build druid_cdpd. > perlcc -B druid_cdpd.pl -o druid_cdpd > cp druid_cdpd /usr/sbin/druid_cdpd > cp druid_cdpd.rc /etc/init.d/druid_cdpd > cp druid_cdpd.sysconfig /etc/sysconfig/druid_cdpd The above instructions are used for a CentOS 5 based system. Packagers: We recommend building Net::CDP and druid_cdpd as 2 separate packages. Use the patch when building Net::CDP. Net::CDP Info and License ------------------------- Net::CDP Copyright (C) 2005 by Michael Chapman libcdp is released under the terms and conditions of the GNU Library General Public License version 2. Net::CDP may be redistributed and/or modified under the same terms as Perl itself.