HP SNMP/XL User's Guide (36922-90036)
38 Chapter3
Using SNMPUTIL
SNMP Command Files
SNMP Command Files
The following is a list of the command files provided for the
HP SNMP/XL subsystem that perform the following operations:
The format of the variable-name parameters for these commands are
described in Appendix A , “SNMP Variable Description.”
In order to execute the SNMP commands, either include NET.SYS in
the HPPATH variable (see setvar in MPE/iX Commands Manual.)
setvar HPPATH “!hppath,net.sys”
or execute the command with full path name.
SNMPxxxx.NET.SYS
NOTE
Although SNMP starts up and shuts down automatically when the
network is started or shut down, you can manually start or stop SNMP
using SNMPUTIL. The user interface for these commands changes if
the network is down and you are trying to execute one of these
commands to query the local SNMP agent. (This is true of all the CI
commands listed above except SNMPTRAP.) If the network is down, the
second field in these commands must have a value of 0. This sends the
request to the agent on the machine that you are running the command
on. For example if the network is down the following requests are
rejected:
snmpget perseus public system.sysDescr.0
snmpget 15.13.104.133 public system.sysDescr.0
snmpget wabbit public system.sysDescr.0
An example of an accepted value might look like this:
snmpget 0 public system.sysDescr.0
Command File Operation
snmpget
Sends an SNMP get request to the specified node to retrieve specific
management information.
snmpnext
Sends an SNMP get next request to the next specified node.
snmpset
Sends an SNMP set request to the specified node.
snmptrap
Generates an SNMP trap and sends it to the configured
management stations. This is used to report extraordinary events.
snmpwalk
Sends an SNMP get next request from the specified starting point
(usually a group name), through the MIB names until the end of the
MIB group is reached.