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.19184.108.40.206.220.127.116.11.1050.2': undoFailed Warning: snmp2_set(): Error in packet at 'SNMPv2-SMI::enterprises.1918.104.22.168.22.214.171.124.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 126.96.36.199.4.1.19188.8.131.52.184.108.40.206.192.23 i 4 220.127.116.11.4.1.1918.104.22.168.22.214.171.124.192.23 i 2
and i get error like that
Error in packet. Reason: undoFailed Failed object: SNMPv2-SMI::enterprises.19126.96.36.199.188.8.131.52.192.23