I have tried using the above SNMP calls but I am getting the following errors:
Warning: snmp2_set(): Error in packet at 'SNMPv2-SMI::enterprises.19220.127.116.11.18.104.22.168.1050.2': undoFailed Warning: snmp2_set(): Error in packet at 'SNMPv2-SMI::enterprises.1922.214.171.124.126.96.36.199.1050.2': undoFailed
Port = 2 VLAN = 1050
I have removed the port 2 from VLAN 1025, but still getting the above error.
Were you able to use both OIDs on the same call? is that something supported for the tool you are using, from previous tests I know that not all SNMP tool support that, is there a way for you to test with net-snmp tool?
I have similar problem like Amar. I have successfully add vlan to tagged port, but have problem with adding vlan to untaged port snmpset -v2c -c community 192.168.1.30 188.8.131.52.4.1.19184.108.40.206.220.127.116.11.192.23 i 4 18.104.22.168.4.1.1922.214.171.124.126.96.36.199.192.23 i 2
and i get error like that
Error in packet. Reason: undoFailed Failed object: SNMPv2-SMI::enterprises.19188.8.131.52.184.108.40.206.192.23