SNMPTEST(1)

SNMPTEST(1)

snmpset Home Page User Commands Index snmptrap


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  host  specification  may  be either a host name or an
       internet address specified in "dot notation"

       The community specifies the community name for the  trans-
       action with the remote system.

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

       Please enter the variable name:

       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 variables(5).  For example

       snmpget netdev-kbox.cc.cmu.edu public
       Please enter the variable name: system.sysdescr.0
       Please enter the variable name:

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

       Name: system.sysDescr.0
       OCTET STRING- (ascii):   Kinetics FastPath2

       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:

       Please enter variable type [i|s|n]:

       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:

       Please enter new value:

       If  this  is  an  integer value, just type the integer (in
       decimal).  If it is a string, type in  white-space  seper-
       ated  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
       cmusnmp(5)variables(5) RFC 1065, RFC 1066, RFC 1067 

snmpset Home Page User Commands Index snmptrap