http://qs1969.pair.com?node_id=945796


in reply to Cisco SNMP CDP Poll

Running in Window XP Mode
C:\Documents and Settings\XPMUser\My Documents\script>perl -v

This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32-x86-multi-thread

C:\Documents and Settings\XPMUser\My Documents\script>perl cdpsnmp.txt xxx.xxx.xxx.xxx
community: !!!!!!!


CDP Neighbor Details for xxx.xxx.xxx.xxx
--------------------------------------------------------------------------------------------
Neighbor IP Name Interface Type |
--------------------------------------------------------------------------------------------
oid_context_match() is obsolete, use oid_base_match() instead at cdpsnmp.txt line 61

line 61 = while(Net::SNMP::oid_context_match($starting_oid,$new_oid)){

Help with this error please. I am a newbi to perl. I finally got it to run and it fails :(
any help would be appreciated
Daniel