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.

 

 

 

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