anchor.diff:      catch erlang:port_close(NetSnmpPort).
   
   net_snmp_trapd(Cmd) ->
  -    open_port({spawn, Cmd}, [stderr_to_stdout]).
  +    NetSnmpTrapdPort = open_port({spawn, Cmd}, [stderr_to_stdout]),
  +    ct:pal("net_snmp_trapd started: ~s~n", [Cmd]),
  +    NetSnmpTrapdPort.
   
   net_snmp_log(NetSnmpPort) -> 
       receive 
  
positive.code: oid_str([Int | Rest], Acc) ->
      oid_str(Rest, Acc ++ "." ++ integer_to_list(Int)).
  
  agent_config(Dir, Domain, IpA, IpM, Port, Versions) ->
      EngineID = ?AGENT_ENGIN_ID,
      MMS = ?DEFAULT_MAX_MESSAGE_SIZE,
      ok = snmp_config:write_agent_snmp_conf(Dir, Domain, {IpA, Port},
  				      EngineID, MMS),
      ok = snmp_config:write_agent_snmp_context_conf(Dir),
      ok = snmp_config:write_agent_snmp_community_conf(Dir),
      ok = snmp_config:write_agent_snmp_standard_conf(Dir, "snmp_to_snmpnet_SUITE"),
      ok = snmp_config:write_agent_snmp_target_addr_conf(Dir, Domain, 
  						  IpM, Versions),
      ok = snmp_config:write_agent_snmp_target_params_conf(Dir, Versions),
      ok = snmp_config:write_agent_snmp_notify_conf(Dir, inform),
      ok = snmp_config:write_agent_snmp_vacm_conf(Dir, Versions, none).
  
negative.code: %%--------------------------------------------------------------------
  net_snmp(Cmd, Expect) ->
      NetSnmpPort = open_port({spawn, Cmd}, [stderr_to_stdout]),
      ct:pal("net_snmp started: ~s~n", [Cmd]),
      receive 
  	{NetSnmpPort, {data, Expect}} ->
  	    ok;
  