[snmp] How to Explicilty specify the SRC IP in an outgoing v2 trap

Nookala, Sridevi (Sridevi) snookala at alcatel-lucent.com
Thu Apr 12 15:31:33 BST 2007


Dear westhawk,

 

I want to be more precise.

 

I have a sender (S1) sending traps to R1( receiver 1)

 

R1 now has to send R2 ( a different receiver - difft host/port)

 

When I receive a trap from S1 sender, I get the srcIP out of the
incoming trap.

If it's a v1 trap that S1 sent, I can use OneTrapPduv1 and call
setIpAddress to set the IP address.

 

If it's a V2 trap, how do I explicitly or do I have a way to explicitly
specify the SRC IP.

 

In my case, when R1 has to forward to R2 from R1 (sun machine), I need
to put the ipaddress of the actual sender S1

 

-thx,

Any help is really appreciated

Sridevi

 

 

 

 



More information about the snmp mailing list