View Source SNMP Appendix A

Appendix A

This appendix describes the conversion of SNMPv2 to SNMPv1 error messages. The instrumentation functions should return v2 error messages.

Mapping of SNMPv2 error message to SNMPv1:

SNMPv2 messageSNMPv1 message
noErrornoError
genErrgenErr
noAccessnoSuchName
wrongTypebadValue
wrongLengthbadValue
wrongEncodingbadValue
wrongValuebadValue
noCreationnoSuchName
inconsistentValuebadValue
resourceUnavailablegenErr
commitFailedgenErr
undoFailedgenErr
notWritablenoSuchName
inconsistentNamenoSuchName

Table: Error Messages