HP SNMP/XL User's Guide (36922-90036)
40 Chapter3
Using SNMPUTIL
SNMP Command Files
SNMPNEXT
The SNMPNEXT command is used to query a node using SNMP
GetNextRequests.
SNMPNEXT 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
GetNextRequest. 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
GetNextRequest. If 0 is specified, the community name
defaults to public.
VARIABLE
This is a required parameter. This command accepts 1
to 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
SNMPNEXT is an SNMP application that uses the GetNetRequest to
query for information on a node. The response to the SNMP get request
is then formatted and returned.
Examples
The first example retrieves the next object after the object described by
1.1.0.
The second example retrieves the same object but uses the symbolic
name for the variable parameter.
MPEXL: snmpnext mpenode public 1.1.0
Name: system.sysObjectID.0
Object Identifier:
.iso.org.dod.internet.private.enterprises.hp.nm.system.mpe_xl.2
MPEXL:
MPEXL: SNMPNEXT SLNODE1 PUBLIC SYSTEM.SYSCONTACT.0
system.sysName.0 : DISPLAY STRING- : xlnode1.domain.org
MPEXL: