anchor.diff:          {sec_name,  SecName}
         ],
   
  +    ?IPRINT("register user, usm-user and agent"),
       snmpm:register_user(SecName, snmpm_user_default, nil),
       snmpm:register_usm_user(EngineID, SecName, Credentials),
       snmpm:register_agent(SecName, "v3_agent", AgentConfig),
  
positive.code:       SecParams,
        _Hdr_size
      } = Hdr,
  
      { ok,
        { _MsgAuthEngineID,
  
negative.code:                                         {dir,       ConfDir},
                                          {db_dir,    DbDir}]}],
  
                    ?IPRINT("try starting manager"),
                    ok = snmpm:start(Opts),
                    ?SLEEP(1000), % Give it time to settle
                    ok
            end,
      Case = fun(_) -> do_usm_priv_aes(Config) end,
      Post = fun(_) ->
                     ?IPRINT("[~s] try stop manager"),
                     ok = snmpm:stop(),
                     ?SLEEP(1000), % Give it time to settle
                     ok
  