SNMP Set Action
<AMSNMPSETREQUEST HOST="text" NAME="text" COMMUNITY="text" REMOTEPORT="text" TIMEOUT="text" BROADCASTDELAY="text" SNMPVERSION="options" VALUE="text" SYNTAX="options" RESULTDATASET="text">
Issues a SNMP Set message to a SNMP agent in order to alter the value of a variable..
This action can be used to set the value of an SNMP Variable on an SNMP capable agent such as a router.
Specifies the IP Address or host name of the agent to communicate with.
Specifies the SNMP Variable to set. This value can be an OID either numeric or human-readable format. (This is not an AutoMate variable)
Specifies the SNMP community.
Specifies the type of data that will be set in the variable value parameter.
The available options are:
integer: Specifies that value is an integer (number)
octetstring: Specifies that value is an octet string
objectid: Specifies that the value is an object identifier
null: Specifies that the value is a null value
ipaddress: Specifies that the value is an IP Address
counter32: Specifies that the value is a 32-bit counter
gauge32: Specifies that the value is a 32-bit guage
timeticks: Specifies that the value is a time tick
opaque: Specifies that the value is opaque
counter64: Specifies that the value is a 64-but counter
unsignedinteger32: Specifies that the value is a 32-bit unsigned integer
Specifies the Value to set.
Specifies the TCP/IP port that should be used for the SNMP Get request. The default is 161.
Specifies the amount of time in seconds that the action should wait for a response before generating an error. The default is 30.
Only valid when IP address is set to a broadcast address. Specifies the amount of time in seconds that the action should wait for a response when broadcasting. The default is 3 seconds.
Specifies the version of the SNMP protocol to use. The default is SNMP version 1 as it is the most prevalent.
Specifies the name of the dataset that will be created and populated with the results of the request.
This action includes the Description tab for entering a custom step description.
More on setting custom step description
This action also includes the standard Error Causes and On Error failure handling options/tabs.
More on Error Handling Options
All text fields allow the use of expressions, which can be entered by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by pressing F2.
More on variables
More on expressions
More on the expression builder
NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.
<AMSNMPSETREQUEST HOST="158.223.257.115" NAME="188.8.131.52.184.108.40.206.0" COMMUNITY="public" VALUE="text" />