[SNMP4J] Failed to Register with USM (V3 Notification...)

sanjay A sandy1977r at gmail.com
Tue Jul 17 12:46:56 CEST 2007


When I register for v3 notification i failed , could any one tell me how to
register for v3 notification.



USM usm = *new* USM(SecurityProtocols.*getInstance*(),

            *new* OctetString(mpv3.*createLocalEngineID*()), 0);

SecurityModels.*getInstance*().addSecurityModel(usm);

*snmp*.getUSM().addUser(*new* OctetString("MD5DES"),

                       *new* UsmUser(*new* OctetString("MD5DES"),AuthMD5.*ID
*,

                         *new* OctetString("MD5DESUserAuthPassword"
),PrivDES.*ID*,

                           *new* OctetString("MD5DESUserPrivPassword")));



But no luck for getting v3 notification....



regards

Sandy



More information about the SNMP4J mailing list