The snmp-example script makes it easy to get or set a value. For example, the page linked below includes a script that demonstrates setting a given utility MIB to the value 100.
Read the document snmp-example