SNMPGET(1M) RISC/os Reference Manual SNMPGET(1M)
NAME
snmpget - communicates with a network entity using SNMP GET
Requests.
SYNOPSIS
snmpget host [-n] [-p port] [-c community] [-t timeout] [-r
retrycnt] [-i requestID] variable [variable]...
DESCRIPTION
snmpget is an SNMP application that uses the GET Request to
query for information on a network entity host.
-n Show network addresses as numbers (normally
snmpget interprets addresses and attempts to
display them symbolically).
-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 for 10
seconds.
-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
request. 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
snmpget 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.
Printed 11/19/92 Page 1
SNMPGET(1M) RISC/os Reference Manual SNMPGET(1M)
COPYRIGHT
Copyright 1988, 1989 Massachusetts Institute of Technology
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), snmpnext(1), snmpwalk(1), snmpset(1). RFC 1065, RFC
1066, RFC 1067
Page 2 Printed 11/19/92