HP SNMP/XL User's Guide (36922-90036)
Chapter 3 41
Using SNMPUTIL
SNMP Command Files
SNMPSET
The SNMPSET command is used to send an SNMP SetRequest to a node.
SNMPSET NODE
COMMUNITY
[VARIABLE
TYPE
VALUE...]
Parameters
NODE
This is a required parameter. It specifies the network
element that is to be the target of the SNMP
SetRequest. 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 SetRequest.
If 0 is specified, the community name defaults to
public.
VARIABLE
This is a required parameter. This command accepts 1
to 10 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.
TYPE
This is a required parameter which is paired up with a
variable and value. The type parameter must be one of
the following:
Integer, OctetString, ObjectIdentifier, Null,
IpAddress, Counter, Gauge, TimeTicks, or Opaque.
VALUE
This is a required parameter. It defines the new value
for the variable specified. The value must be valid for
the type specified.
Description
SNMPSET is an SNMP command that is used to send a SetRequest to an
SNMP agent and allows for certain MIB variables to be modified. It is
used to update the configuration file and IP address. This means that a
trap is sent to this managed node.