HP SNMP/XL User's Guide (36922-90036)
Chapter 3 39
Using SNMPUTIL
SNMP Command Files
SNMPGET
The SNMPGET command is used to query a node using SNMP
GetRequests.
SNMPGET NODE
COMMUNITY
VARIABLE
[VARIABLE...]
Parameters
NODE
This is a required parameter. It specifies the network
element that is to be the target of the SNMP
GetRequest. 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
GetRequest. If 0 is specified, the community name
defaults to public.
VARIABLE
This is a required parameter. This command accepts
1–20 fully qualified object identifiers as arguments.
Each variable has the format of A.B.C.D..., where A, B,
C, and D are subidentifiers in decimal notation.
Description
SNMPGET is an SNMP application that uses the GetRequest to query for
information on a node. The response to the SNMP GetRequest is then
formatted and returned.
Examples
The following example retrieves the system description object from the
node called MPENODE.
MPEXL: snmpget mpenode public 1.1.0
Name: system.sysDescr.0
Octet String: HP3000 SERIES 925, MPE XL version B.31.00
NS Transport version B.
04.00
MPE XL: