Snmpwalk is an SNMP application that uses GET NEXT Requests to query for a tree
of information about a network entity.
A variable may also be given on the
command line. This variable specifies which portion of the object identifier
space 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 specified in
variables (5).
If the "objectID" argument is not present, snmpwalk will search MIB-2.
For example
snmpwalk zeus public system
will retrieve all of the variables under system:
system.sysDescr.0 =
"SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
system.sysObjectID.0 = OID: enterprises.hp.nm.hpsystem.10.1.1
system.sysUpTime.0 = Timeticks: (155274552) 17 days, 23:19:05
system.sysContact.0 =
""
system.sysName.0 =
"zeus.net.cmu.edu"
system.sysLocation.0 =
""
system.sysServices.0 = 72
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.