Strange, I have a TL-SG1024DE too. A new one of V3, it work just fine to set VLAN. The problem will happen only after I upgrade the firmware to 170530. What's your firmware version?