Hi All, We are doing a test to check the agent to handle large sub-ids after replacing the instance sub identifiers in the attribute id, with the largest 32 bit unsigned long. A SNMPv2C agent is expected to respond back with a noSuchInstance value.
The above result are as per RFC 3416 : --------------------------------------------------------------------------------------- Upon receipt of a GetRequest-PDU, the receiving SNMP entity processes each variable binding in the variable-binding list to produce a Response-PDU. All fields of the Response-PDU have the same values as the corresponding fields of the received request except as indicated below. Each variable binding is processed as follows: (1) If the variable binding's name exactly matches the name of a variable accessible by this request, then the variable binding's value field is set to the value of the named variable. (2) Otherwise, if the variable binding's name does not have an OBJECT IDENTIFIER prefix which exactly matches the OBJECT IDENTIFIER prefix of any (potential) variable accessible by this request, then its value field is set to "noSuchObject". (3) Otherwise, the variable binding's value field is set to "noSuchInstance". ---------------------------------------------------------------------------------- /opt/servers/netsnmp/bin/snmpget -v 2c -c private 172.16.8.86 1.3.6.1.2.1.92.1.1.1.0 NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.0 = Gauge32: 1000 The subidentifier is changed to 4294967295 from 0. But the below query returns "noSuchObject" in place of "noSuchInstance". /opt/servers/netsnmp/bin/snmpget -v 2c -c private 172.16.8.86 1.3.6.1.2.1.92.1.1.1.4294967295 NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.4294967295 = No Such Object available on this agent at this OID Is there something wrong with my understanding ? Regards, Manjit ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders