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 <[email protected]> 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
> [email protected]
> https://oosnmp.net/mailman/listinfo/snmp4j

_______________________________________________
SNMP4J mailing list
[email protected]
https://oosnmp.net/mailman/listinfo/snmp4j

Reply via email to