[SNMP4J] SNMP Agent's trap sending port

Frank Fock fock at agentpp.com
Mon Mar 23 22:21:21 CET 2015


Hi Shraddha,

You can simply add a TransportMapping to the Snmp instance you are using
with a local port set (instead of 0).

Best regards,
Frank


> On 23 Mar 2015, at 19:13, Shraddha Herlekar <shraddha.herlekar at hds.com> wrote:
> 
> Hi,
> 
> Is there any way to force SNMP agent to use a particular port to send out
> SNMP v2 traps?
> By default, any random available port at agent side is used to send out
> the trap.
> 
> Thank you,
> Shraddha.
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j




More information about the SNMP4J mailing list