VLAN's on CRS317

You’ve got it mostly wrong. Read through this tutorial, that’s the way it should be done (and is HW offloaded on your CRS317).