in reply to Re: Perl-Snmp script for arp table retrieval problem.
in thread Perl-Snmp script for arp table retrieval problem.

this code is copied from cisco cookbook.....it will fetch any router or systems arp table
  • Comment on Re^2: Perl-Snmp script for arp table retrieval problem.

Replies are listed 'Best First'.
Re^3: Perl-Snmp script for arp table retrieval problem.
by toolic (Bishop) on Mar 06, 2012 at 22:08 UTC
    Maybe your copy-n-paste messed up some characters. Try to replace all instances of \Q with backticks `
    @iftable=`$snmpwalk $rtr ifDescr`;
    That gets rid of the compile errors for me.
      Thanks it compiled without error.......but this program is cisco router specific can it be used to retrieve arp table of local machine in windows???