


SNMPTEST(1)              USER COMMANDS                SNMPTEST(1)



NAME
     snmptest - communicates with a network entity using SNMP GET
     Requests.

SYNOPSIS
     snmptest host community

DESCRIPTION
     Snmptest is a flexible SNMP application that can monitor and
     manage information on a network entity.

     The _h_o_s_t specification may be  either  a  host  name  or  an
     internet address specified in "dot notation"

     The _c_o_m_m_u_n_i_t_y specifies the community name for the  transac-
     tion with the remote system.

     After invoking  the  program,  a  command  line  interpreter
     proceeds to accept commands.  It will prompt with:

     _P_l_e_a_s_e _e_n_t_e_r _t_h_e _v_a_r_i_a_b_l_e _n_a_m_e:

     At this point you can enter one or more variable names,  one
     per  line.   A blank line is a command to send a request for
     each of the variables (in a single  packet)  to  the  remote
     entity.  Each variable name is given in the format specified
     in _v_a_r_i_a_b_l_e_s(5).  For example

     _s_n_m_p_g_e_t _n_e_t_d_e_v-_k_b_o_x._c_c._c_m_u._e_d_u _p_u_b_l_i_c
     _P_l_e_a_s_e _e_n_t_e_r _t_h_e _v_a_r_i_a_b_l_e _n_a_m_e: _s_y_s_t_e_m._s_y_s_d_e_s_c_r._0
     _P_l_e_a_s_e _e_n_t_e_r _t_h_e _v_a_r_i_a_b_l_e _n_a_m_e:

     Will return some information about  the  request  and  reply
     packets, as well as the information:

     _N_a_m_e: _s_y_s_t_e_m._s_y_s_D_e_s_c_r._0
     _O_C_T_E_T _S_T_R_I_N_G- (_a_s_c_i_i):   _K_i_n_e_t_i_c_s _F_a_s_t_P_a_t_h_2

     Upon startup, the program defaults to sending a GET  Request
     packet.   This can be changed to a GET NEXT Request or a SET
     Request by typing the commands  "$N"  or  "$S"  repectively.
     Typing "$G" will go back to the GET Request mode.

     The command "$D" will toggle the dumping of  each  sent  and
     received packet.

     When  in  the  "SET  Request"  mode,  more  information   is
     requested by the prompt for each variable.  The prompt:

     _P_l_e_a_s_e _e_n_t_e_r _v_a_r_i_a_b_l_e _t_y_p_e [_i|_s|_n]:





Sun Release 4.1  Last change: 17 September 1989                 1






SNMPTEST(1)              USER COMMANDS                SNMPTEST(1)



     requests the type of the variable be entered.  Type "i"  for
     an  integer,  "s"  for  an  octet string, and "n" for a null
     value.
     At this point a value will be prompted for:

     _P_l_e_a_s_e _e_n_t_e_r _n_e_w _v_a_l_u_e:

     If this is an integer  value,  just  type  the  integer  (in
     decimal).   If it is a string, type in white-space seperated
     decimal numbers, one per byte of the string.  Again  type  a
     blank  line  at the prompt for the variable name to send the
     packet.

     At the variable name line, typing "$Q" will  quit  the  pro-
     gram.

     Adding a "-d" to the argument list will cause  the  applica-
     tion to dump input and output packets.

SEE ALSO
     variables(5), RFC 1065, RFC 1066, RFC 1067


































Sun Release 4.1  Last change: 17 September 1989                 2



