When I create VLAN interfaces in the switch tab as soon a click apply settings my router freezes and never come back I have to reset it. Same happens when I execute swconfig dev switch0/1 set enable_vlan 1. When I set apply it freezes and have to reset factory defaults as well.
I was using VLANs tab in the GUI, which is a NOT!, I just put all this configuration in the startup script portion and it worked!, mostly rebooting on every change, not using applying settings at all.
This is my configuration, I did change it to have Physical port 1, VLAN20 tagged and Untag traffic, bridging Wifi 2.4Ghz with VLAN20 and 5Ghz Traffic untag, which is tagged by my switch with VLAN10.
Thanks again
sleep 4
# Setup VLANS
# Switch0 Config
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "0t 1 2 4t 6t"
swconfig dev switch0 vlan 2 set ports "3 5t"
swconfig dev switch0 vlan 20 set ports "0t 2t 4t 6t"
swconfig dev switch0 set apply
# Switch1 Config
swconfig dev switch1 set enable_vlan 1
swconfig dev switch1 vlan 1 set ports "0t 2 3 4 5t"
swconfig dev switch1 vlan 20 set ports "0t 5t"
swconfig dev switch1 set apply
# Adding vlan links
vconfig add eth1 20
# Give vlans a kick into life
ifconfig vlan20 up
# Bridging vlans for connection in the recalcitrant R9000
brctl addif br20 vlan20