SNMPWALK(1M) RISC/os Reference Manual SNMPWALK(1M)
NAME
snmpwalk - communicates with a network entity using SNMP GET
NEXT Requests.
SYNOPSIS
snmpwalk host [-n] [-pport ] [-ccommunity] [-ttimeout] [
-rretrycnt]
[-irequestID] [variable]
DESCRIPTION
snmpwalk is an SNMP application that uses GET NEXT Requests
to query for a tree of information about a network entity
host.
OPTIONS
-n Show network addresses as numbers (normally snmpwalk
interprets addresses and attempts to display them sym-
bolically).
-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 request. The
default is zero.
variable
A variable may be given on the command line. This
variable specifies which portion of the object identi-
fierspace will be searched using GET NEXT Requests.
All variables in the subtree below the given variable
are queried and their values presented to the user.
Each variable name is given in the format of
A.B.C.D..., where A, B, C, and D are subidentifiers in
decimal notation.
If the variable argument is not present, snmpwalk will
search the entire MIB.
For example
snmpwalk mips.mips.com system
will retrieve the variables sysDescr.0, sysObjectID.0 and
sysUpTime.0:
Printed 11/19/92 Page 1
SNMPWALK(1M) RISC/os Reference Manual SNMPWALK(1M)
Name: iso.org.dod.internet.mgmt.mib.system.sysDescr.0
OctetString: """mips mips 4_0 UMIPS mips m1000
ATT_V3_0"""
Name: system.sysObjectID.0
ObjectId:
.iso.org.dod.internet.private.enterprises.MIPS.M1000
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 why the request was malformed.
If the tree search causes attempts to search beyond the end
of the MIB, a message will be displayed:
End of MIB.
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
snmpnext(1), snmpget(1), snmpset(1).
mib(5) in the Programmer's Reference Manual.
RFC 1065, RFC 1066, RFC 1067.
Page 2 Printed 11/19/92