[SNMP4J] forwarding traps to NMS via a proxy

Frank Fock fock at agentpp.com
Tue Nov 11 09:42:50 CET 2014


Hi Shivi,

Although the SNMP stanard discourages usage of inband source addresses,
you can use the snmpTrapAddress from the SNMP-COMMUNITY-MIB as additional
object to all the proxied traps.

Best regards,
Frank


Am 11.11.2014 07:47, schrieb Shivi Goel -X (shivigoe - NICHEPRO 
TECHNOLOGIES PRIVATE LIMITED at Cisco):
> Hi,
> How to implement IP spoofing for v2/v3 traps using SNMP4J?
> I have a project requirement where we need to have a trap collector between the network element and NMS, so the traps would be forwarded to NMS via this trap collector and not directly from this device.
> But the NMS is not aware of this middle layer and should feel as if the trap is coming directly from the device.
> For v1 traps, setAgentAddress() is available in snmp4j which maps the v1 trap to real device in NMS
> But there is no such support for v2 and v3 traps. How to handle this v2/v3 trap forwarding via proxy?
>
> Thanks in advance.
>
> Regards,
> Shivi
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list