


SNMPGETNEXT(1)           USER COMMANDS             SNMPGETNEXT(1)



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

SYNOPSIS
     snmpgetnext host community variable-name [variable-name]...

DESCRIPTION
     Snmpget is an  SNMP  application  that  uses  the  GET  NEXT
     Request  to  query for information on a network entity.  One
     or more object identifiers may be given as arguments on  the
     command  line.   Each  variable  name is given in the format
     specified in _v_a_r_i_a_b_l_e_s(5).  For each one, the variable  that
     is lexicographicly "next" in the remote entity's MIB will be
     returned.

     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.

     For example

     _s_n_m_p_g_e_t_n_e_x_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  _s_y_s_t_e_m._s_y_s_d_e_s_c_r
     _s_y_s_t_e_m._s_y_s_U_p_T_i_m_e

     will retrieve the variables sysDescr.0 and sysUpTime.0:

     _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

     _N_a_m_e: _s_y_s_t_e_m._s_y_s_U_p_T_i_m_e._0
     _T_i_m_e_t_i_c_k_s: (_2_2_7_0_3_5_1) _6:_1_8:_2_3

     If the network entity has an error  processing  the  request
     packet,  an error message will be shown, helping to pinpoint
     in what way the request was malformed.

     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                 1



