I'm trying to update the admin status of an interface on a Vyatta router I have running as a LiveCD in VirtualBox using SNMP. The version of Vyatta is VC6.6R1, and I'm using SNMP version 2c.
I can read the admin and operational status of each interface, but when I try to set the admin status of one of the interfaces I get a
genErr(5) and the admin status goes unchanged. I verified that I can change the admin status via the Vyatta command line, and after doing that my
SNMP get calls for the admin and operational status of said interface reflect the change. So, for some reason my
SNMP set calls just aren't working.
pysnmpget -v 2c -c abc123 10.20.0.254 18.104.22.168.22.214.171.124.1.7.4 SNMPv2-SMI::mib-126.96.36.199.7.4 = Integer: 1 pysnmpset -v 2c -c abc123 10.20.0.254 188.8.131.52.184.108.40.206.1.7.4 i 2 genErr(5)
220.127.116.11.18.104.22.168.1.7.4 translates to
ifDescr 4, which is
eth3 in my case.
I saw a post on Vyatta's forum where a user was able to do the above without issues. However, he was using Vyatta version VC4 at the time (back in 2008).