You piqued my interest when I saw your post.
You need to enable L3 first.
ip l3
The interesting thing about it is on the EMC SX6012 that was converted to 3.6.8012, there is no vlan command in the cli. But they can be created on the webUI and the configurations show up in running-config. 3.6.1002 works fine.