Hi,
I was trying the same solution and come to the same error, then after googling, I've found this topic (with no reply for half a year
).
I have DGS-1210-24, but result is the same - snmpset -c private -v 2c switch IF-MIB::ifAlias.1 s "test" returns Reason: inconsistentValue.
Well, it seem to be an issue in SMTP settings/data on the switch side and it relates to port 1 setting only. I can easily setup description for the ports 2-24, with only exception that you can't set the same description to 2 ports at the same time, but port 1 always return the same error.
Anyway it's a bit weird to get/set port description via snmp only, why it can't be done via WebUI?
I hope someone reads this forum and provide the fix soon.
Regards,
Igor.