This is a discussion on How to select the error code for SnmpSet request. - help please. within the SNMP Coders forums, part of the Networking and Network Related category; Hi All, From my understanding, In RFC 1905 say that SnmpV2 request contains three exceptions such as noSuchinstance, nosuchObject, end ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi All,
From my understanding, In RFC 1905 say that SnmpV2 request contains three exceptions such as noSuchinstance, nosuchObject, end of MibView. If we issue a Get request to the OID which doesn't have this instance, nosuchInstance will be returned by the agent. If the OID is not exist, agnet return as nosuchObject. In SnmpGetNext & GetBulk request , there is possibility of getting the response as end of MibView. My doubt is what will be the response if I issue a Set request to the OID which doesn't have the specified instance (like as nosuchInstance case). I refer the RFC1905, In Set request they have talked about thirteen error. I am confused about how to choose the corresponding error code for this situation. Also what will be response if I issue a Set request to the OID which doesn't exist in the agent. Please help me to choose the corresponding error code for the above two situation. Look forward your thoughts on this. Cheers Ravikumar |