Web and Unmanaged
1745877 Members
4271 Online
108723 Solutions
New Discussion

Changing VLAN-settings over SNMP for a V1910 switch

 
mikn
Collector

Changing VLAN-settings over SNMP for a V1910 switch

Hello,

 

I'm having a problem with changing VLAN-settings over SNMP. I've found multiple OIDs that contain VLAN-settings, both port-based per-VLAN hex strings and VLAN-based per-port strings. They are listed as read-write access in the MIB but when I try writing to them with snmpset I'm always getting inconsistentValue returned. I've tried in many different formats with and without the MIBs loaded, but to no avail.

 

The "SetRequest-PDU accepted and processed" SNMP Statistic counter on the WebUI increases even though a inconsistentValue fault is returned, maybe it is how it works though. I'm brand new to SNMP, but I seem to be at a dead end with this.

 

The most helpful information I've found is from:

http://oreilly.com/catalog/esnmp/chapter/ch02.html

Where they say:inconsistentValue: "A MIB variable is in an inconsistent state, and is not accepting any set requests."

 

It doesn't really help much though, but google had people with similar problems getting suggested to change a related variable to allow writes, like changing the state of the VLAN or such.

I've found .1.3.6.1.4.1.43.45.1.2.23.1.2.1.1.1.13.

which seems to be read-create and stores the state of the VLAN, but trying to set that to anything but its current value returns an inconsistentValue as well.

 

Any help at all would be much appreciated!