Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Cisco Neighbors

by fingers (Acolyte)
on May 16, 2001 at 21:56 UTC ( [id://80992] : note . print w/replies, xml ) Need Help??

in reply to (code) Cisco Neighbors

I put together a similar script that works using SNMP and automatically polls the IPs it gets back from the SNMP queries.

Thanks for giving me the idea to write it, and answering questions for me.

Replies are listed 'Best First'.
Re^2: Cisco Neighbors
by ArifS (Beadle) on Sep 22, 2014 at 18:57 UTC
    I am getting the following error.

    181: $seen{$item}; # parse $file{in} into a hash
    Useless use of hash element in void context at c:\temp\dir39FB.tmp\cdp line 181.

    67: Usage() unless ((@ARGV) or (-s $file{in} && -T_));
    Undefined subroutine &main::Usage called at c:\temp\dir39FB.tmp\cdp lin e 67.
    Press any key to continue . . .
    Any suggestion?