SNMPv3 endOfMibView

2019-06-24 12:09发布

问题:

endOfMibView is an SNMPexception, right? if endOfMibView occurs in SNMPv3, what will be the value of the error-status parameter in the PDU? Is there any RFC regarding this matter?

In SNMPv1, "noSuchName" is set to the error-status.

Thanks for answering!

回答1:

Actually, no... endOfMibView is an exception added to the varbind value itself when it's hit. This is done so that an endOfMibView can occur along side a real variable as well. In the SNMPv2 PDU structure, documented in RFC3416, you'll find the definition.

If it set the error-status you'd have to refetch the rest of the variables since it would be a true error and would stop the entire processing sequence. Having it as an in-line exception means that the other variable fetches can proceed still.



标签: snmp