SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-12
Sample Manager Invocation
SNMPWALK
SNMPWALK lets you browse through MIBs in lexicographical order, issuing GetNext
packets starting at a point in the SNMP object hierarchy you specify at invocation.
SNMPWALK, like SNMPGET, encodes the packets for UDP or IPC communication.
At startup, SNMPWALK loads a file named mibrt, a -readtree output file from the MIB
compiler, enabling it to accept MIB object name input and represent MIB objects in
response packets by name when the objects are represented in mibrt. The mibrt file
delivered with Manager Services represents MIB-II objects. You can regenerate mibrt to
tailor it to describe MIBs of particular interest to you.
SNMPWALK accepts a -d parameter that lets you specify how many MIB objects to
operate on, and specification of a MIB object is optional. For definitions of arguments
not listed, refer to SNMPGET.
-l
Stands for long form. Use this parameter when changing the
value of MIB objects that are not MIB-II objects.
data-type
Describes the SNMP data type of the target MIB object when it is
not a MIB-II object. It must be one of these values:
OCTET_STRING
DisplayString
OBJECT_IDENTIFIER
NULL
INTEGER
IpAddress
Counter
Gauge
TimeTicks
Opaque
value
The value to assign to the target MIB object. Enclose strings in
double quotation marks (""), use a colon (:) to specify binary
data, and use the dotted notation (1.2.3.4) or NonStop Kernel
node name for IP addresses.
SNMPWALK [-c agent-community string]
[-d number-of-objects]
[-i request-id]
[-p agent-request-port}
[-r retry-count]
[-t timeout-seconds]
[-a NonStop-agent-process]
[-x output-information-level]
target-host-identifier
[first-MIB-object]