Re: Cisco and Mibs
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGYgY2AETUAS-tU=0ix94S9vF9PbatPWh8JhVSMmCNHcNg@mail.gmail.com> |
On 2 August 2011 21:15, Jo�o Daniel Neves <[email protected]> wrote: > 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). That will only work if you provide the full OID of a single instance. You're more likely to see something if you try snmpgetnext -c public -v 2c host OID or snmpwalk -c public -v 2c host OID > If I run this command "snmpwalk -c public -v 2c host | grep OID" That will probably walk the standard MIB objects only (depending on the version you're using). That wouldn't include vendor-specific information > "snmpwalk -c public -v 2c host | grep sysUpTime*" > *for example > > I got an "nothing" from grep. Grep haven't found anything. Hmmm... that's surprising. > But...surprisingly > If I ran "snmpwalk -c public -v 2c host OID" > I got the an answer. Yes, that's right. snmpwalk ... OID will walk the subtree rooted at the given OID > Is this difference between snmpwak and snmpget normal? Yes > Why just "snmpwalk -c public -v2c host oid" worked? See above Dave ------------------------------------------------------------------------------ BlackBerry® 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users