Hi All,

Am learning SNMPv3 and at the same time testing the SNMPv3 receiver,

Receiver receives V3 trap, but always with engineTime, engineBoots,
authEngineTime and authEngineBoots as 0.   For the same reason after
some time, receiver unable to process traps with error message, NOT IN
TIME WINDOW.

Can someone pls help me as what explicit changes required to send
appropriate values,

Sample code ,

USM usm = new USM(SecurityProtocols.getInstance(),localEngineID,
engineBootCount);

usm.setLocalEngine(localEngineID, 0, 1000);

SecurityParameters securityParams = usm.newSecurityParametersInstance();

SecurityModels.getInstance().addSecurityModel(usm);

addUsmUser(snmp); 

Thanks and regards,

Vijay

 

_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to