Snmpset command is not changing oid content

215 views Asked by At

I want to change the content of an oid I want using the snmpset command:

snmpget -v 2c -c public 10.1.240.53 .1.3.6.1.4.1.1023.1.2.1.2.1.3.1

output->SNMPv2-SMI::enterprises.1023.1.2.1.2.1.3.1 = INTEGER: 1

So to change the content, ı used:

snmpset -v 2c -c public 10.1.240.53 .1.3.6.1.4.1.1023.1.2.1.2.1.3.1 integer 9

output->SNMPv2-SMI::enterprises.1023.1.2.1.2.1.3.1 = INTEGER: 9

But when ı write this command again

snmpget -v 2c -c public 10.1.240.53 .1.3.6.1.4.1.1023.1.2.1.2.1.3.1

SNMPv2-SMI::enterprises.1023.1.2.1.2.1.3.1 = INTEGER: 1

The content is not changing.

1

There are 1 answers

1
Andrew Komiagin On

Most likely the object you're trying to alter using SNMPSET is read-only and cannot be changed. As far as I can tell it is INTELSAL enterprise specific MIB file. So you need to check private MIB files/