Dave and others,

I think that Im missing something...

Something weird happens...

OID = An Cisco OID number.

If I ran this command "snmpget -c public -v 2c host OID" 

I got an error that OID could not be found (or something like that).

Shouldn't I see the information? Or I miss understand something?


If I run this command "snmpwalk -c public -v 2c host | grep OID"

or
              "snmpwalk -c public -v 2c host | grep sysUpTime*"
*for example

I got an "nothing" from grep. Grep haven't found anything. 

Does it means that the information is not present?

But...surprisingly

If I ran "snmpwalk -c public -v 2c host OID"

I got the an answer.


Is this difference between snmpwak and snmpget normal?

Why just "snmpwalk -c public -v2c host oid" worked?




> Date: Tue, 2 Aug 2011 10:38:15 +0100
> Subject: Re: Cisco and Mibs
> From: d.t.shi...@liverpool.ac.uk
> To: joaodanielneve...@hotmail.com
> CC: net-snmp-users@lists.sourceforge.net
> 
> On 30 July 2011 16:30, Jo�o Daniel Neves <joaodanielneve...@hotmail.com> 
> wrote:
> > Cisco Works shows me a lot of more information from a Router than our
> > snmpwalk.
> >
> > I have discovered that I cant see this informations (MIBS) because I dont
> > have Cisco MIBs.
> 
> Missing MIB files won't affect whether you can see the information or not.
> (though it will affect how that information is displayed).
>    You should still see everything - just with numeric OIDs for MIB objects
> where you don't have the relevant MIB files available.
> 
> 
> How are you querying the router?   What command are you using?
> What information *do* you see?
> 
> 
> Dave
                                          
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to