Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Cisco SNMP CDP Poll

by dkessinger (Initiate)
on Jan 01, 2012 at 15:58 UTC ( #945796=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Cisco SNMP CDP Poll

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945796]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2015-07-06 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (73 votes), past polls