HP SNMP/XL User's Guide (36922-90036)

42 Chapter3
Using SNMPUTIL
SNMP Command Files
Example
The following example sets the system contact to “Bob Jones” for the
node xlnode using the SNMP community name public.
MPEXL: snmpset xlnode public system.syscontact.0
Octetstring “ 'Bob Jones' ”
Name: system.sysContact.0
Display String: Bob Jones
MPEXL:
SNMPWALK
The SNMPWALK command is used to retrieve particular groups of the
MIB from a remote node or possibly the entire MIB. This command
uses the SNMP GetNextRequest to “walk” through the MIB.
SNMPWALK NODE
COMMUNITY
[VARIABLE]
Parameters
NODE
This is a required parameter. It specifies the network
element that is to be the target of the SNMP Walk
request. This parameter can either be a fully qualified
IP address or a valid host name that is found in the
hosts database. If 0 is specified, the request is sent to
the local host.
COMMUNITY
This is a required parameter. It defines the SNMP
community name that is used in the SNMP Walk
request. If 0 is specified, the community name defaults
to public.
VARIABLE
This is an optional parameter. If it is not specified, the
walk operation begins at the top of the internet
management MIB
(.iso.org.dod.internet.mgmt.mib). If the
parameter is specified, it must be a fully qualified
object identifier. The variable has the format of
A.B.C.D..., where A, B, C, and D are subidentifiers in
decimal notation.
Description
SNMPWALK is an SNMP application that uses the GetNextRequest to
query for a subtree of information about a node. All variables in the
subtree below the given mib-group-name are queried and their values
presented.