在线文档教程
Erlang 20

16. SNMP Appendix A

16 SNMP附录A

16.1附录A

本附录描述SNMPv2到SNMPv1错误消息的转换。检测功能应返回v2错误消息。

将SNMPv2错误消息映射到SNMPv1:

SNMPv2 消息SNMPv1 消息
noErrornoError
genErrgenErr
noAccessnoSuchName
wrongTypebadValue
wrongLengthbadValue
wrongEncodingbadValue
wrongValuebadValue
noCreationnoSuchName
inconsistentValuebadValue
resourceUnavailablegenErr
commitFailedgenErr
undoFailedgenErr
notWritablenoSuchName
inconsistentNamenoSuchName