I have come across a discrepancy when using snmpget built
with netsnmp 5.3.0.1. I am attempting to access the sub interfaces of a router
using the ifTable in Mib II. As a test I am attempting to retrieve the ifInOctects
variable (1.3.6.1.2.1.2.2.1.10) Here is what gets returned when I try the query using snmpv1
and snmpv2c C:\Documents and
Settings\Mathew>C:\NeonDevelopment\snmpv3\net-snmp-5.3.0.1\net- snmp-5.3.0.1\win32\bin\debug\snmpget.exe -c public -v1 192.168.1.1
1.3.6.1.2.1 .2.2.1.10.6 Error in packet Reason: (noSuchName) There is no such variable name in this
MIB. Failed object: IF-MIB::ifInOctets.6 C:\Documents and
Settings\Mathew>C:\NeonDevelopment\snmpv3\net-snmp-5.3.0.1\net- snmp-5.3.0.1\win32\bin\debug\snmpget.exe -c public -v2c 192.168.1.1
1.3.6.1.2. 1.2.2.1.10.6 IF-MIB::ifInOctets.6 = No Such Instance currently exists at
this OID Why does snmpv1 return an error while snmpv2c does not? Mathew Bielejeski |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ 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