SNMPv2协议The InformRequest-PDU

当管理器收到一个 InformRequest-PDU 会检测 封装好的一个Response-PDU信息(这个Response-PDU是右我们手动去封装的,它的内容除了类型跟 InformRequest-PDU不同外 其他部分多相同)的大小,如果检测到这个数据比本地约束大小或者比原始的最大信息还大,那么一个备用的Response-PDU就会生成,并将它发送到 相应InformRequest-PDU的发送方,然后终止相应的代理再次发送 InformRequest-PDU。这个备用Response-PDU的 error-status值 是`tooBig',error-index 值是0,绑定数据为空。

如果检测到这个数据比本地约束大小和比原始的最大信息多小这个Response-PDU将会变成收到的那个InformRequest-PDU。否则snmpSilentDrops [9] 计数器会自加,Response-PDU也会被弃用。 InformRequest-PDU终止。

否则,接收SNMPv2实体:

(1)它的内容到相应的SNMPv2的应用程序

Otherwise, the receiving SNMPv2 entity:

(1) presents its contents to the appropriate SNMPv2 application;

(2) generates a Response-PDU with the same values in its request-id and
variable-bindings fields as the received InformRequest-PDU, with
the value of its error-status field is set to `noError' and the
value of its error-index field is zero; and

(3) transmits the generated Response-PDU to the originator of the
InformRequest-PDU.

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章