Skip to main content

SNMP set

Change one value on a device with SNMP; the community (or v3 user) must have write access.

Command in the Network toolkit · id ooa.network/snmp_set · 16 inputs (3 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
HostStringYesDevice host name or IP address.
OidStringYesOID of the object to change.
ValueAnyYesNew value.
Value typeStringNostringSNMP type of the new value; hex_string takes bytes as hex (0a:1b:ff or 0a1bff), decimal_bytes as numbers (10.27.255), null sends no value (G4).
CommunityAnyNoprivateSNMP v2c community with write access (text or a Credential).
PortNumberNo161UDP port of the SNMP agent.
Wait up to (milliseconds)NumberNo3000How long to wait for each answer, in milliseconds.
RetriesNumberNo1Extra attempts after a timeout.
VersionStringNov2cSNMP version the device speaks.
Security userStringNoSNMP v3 security user name (v3 uses it instead of a community).
Sign-in protocolStringNoshaSNMP v3 sign-in protocol: none, md5, sha (SHA-1), sha256 or sha512.
Sign-in passwordCredentialNoSNMP v3 sign-in password from the vault.
Privacy protocolStringNoaes128SNMP v3 privacy (encryption): none, des or aes128.
Privacy passwordCredentialNoSNMP v3 privacy (encryption) password from the vault.
Context nameStringNoSNMP v3 context, when the device uses them; usually empty.
Log fileFileNoAlso write what was sent and answered to this text file (G4).

Outputs​

OutputTypeWhat it is
valueAnyValue the device reports after the change.