Hello somenathpal Le 17/02/2014 10:11, somenathpal . a écrit : > SNMPv2 trap pdu does not have snmp agent address in its header as it is > present in SNMPv1 Trap pdu. So How a manager knows about the source of trap > PDU in case of a Proxy sitting in between device and manager?
I think here is the answer you're looking for : <cit. https://tools.ietf.org/html/rfc3584#section-3.1> 3.1. Translating SNMPv1 Notification Parameters to SNMPv2 Notification Parameters The following procedure describes how to translate SNMPv1 notification parameters into SNMPv2 notification parameters: [...] (4) The SNMPv2 variable-bindings SHALL be the SNMPv1 variable- bindings. In addition, if the translation is being performed by a proxy in order to forward a received trap, three additional variable-bindings will be appended, if these three additional variable-bindings do not already exist in the SNMPv1 variable- bindings. The name portion of the first additional variable binding SHALL contain snmpTrapAddress.0, and the value SHALL contain the SNMPv1 agent-addr parameter. The name portion of the second additional variable binding SHALL contain snmpTrapCommunity.0, and the value SHALL contain the value of the community-string field from the received SNMPv1 message which contained the SNMPv1 Trap-PDU. The name portion of the third additional variable binding SHALL contain snmpTrapEnterprise.0 [RFC3418], and the value SHALL be the SNMPv1 enterprise parameter. </cit.> Regards, -- Olivier Miakinen ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users