SNMPSET(1-SysV) RISC/os Reference Manual SNMPSET(1-SysV)
NAME
snmpset - communicates with a network entity using SNMP GET
Requests.
SYNOPSIS
snmpset host [-p port] [-c community] [-t timeout] [-r
retrycnt] [-i requestID] variable [variable]...
DESCRIPTION
snmpset is an SNMP application that uses the SET Request to
query for information on a network entity host.
OPTIONS
-p allows the user to select the remote port.
-c allows the user to select the community name.
The default is public.
-t allows the user to set the timeout value in
seconds. The default is to wait forever.
-r allows the user to set the number of retries
after a timeout. The default is to retry 3
times.
-i allows the user to specify his management
requestID. The default is zero.
variable Each variable is given in the format of
A.B.C.D..., where A, B, C, and D are subiden-
tifiers in decimal notation. For example
snmpset mips.mips.com -c public system.sysdescr.0 system.sysUpTime.0
will retrieve the variables sysDescr.0 and
sysUpTime.0:
Name: iso.org.dod.internet.mgmt.mib.system.sysDescr.0
OctetString: """mips mips 4_0 UMIPS mips m1000 ATT_V3_0"""
Name: iso.org.dod.internet.mgmt.mib.system.sysUpTime.0
Timeticks: (2270351) 6:18:23
If the network entity has an error processing
the request packet, an error packet will be
returned and a message will be shown, helping
to pinpoint in what way the request was mal-
formed.
COPYRIGHT
Copyright 1988, 1989 Massachusetts Institute of Technology
Printed 1/15/91 Page 1
SNMPSET(1-SysV) RISC/os Reference Manual SNMPSET(1-SysV)
Permission to use, copy, modify, and distribute this
software for any purpose and without fee is hereby granted,
provided that this copyright and permission notice appear on
all copies and supporting documentation, the name of M.I.T.
not be used in advertising or publicity pertaining to dis-
tribution of the program without specific prior permission,
and notice be given in supporting documentation that copying
and distribution is by permission of M.I.T. M.I.T. makes no
representations about the suitability of this software for
any purpose. It is provided "as is" without express or
implied warranty.
SEE ALSO
mib(5), snmpset(1), smpnext(1), snmpwalk(1), RFC 1065, RFC
1066, RFC 1067
Page 2 Printed 1/15/91