Hi, > char *engineId = "snmpGet"; > ... > usm->set_discovery_mode(); > usm->add_usm_user(engineId,securityName,authProtocol,privProtocol,authPasswo this last line is the problem: you're adding a user with name "snmpGet", engineId has to be replaced by the user name from the command line. Then it will work as expected. Regards, Jochen