Sorry for holding information back.
This is how it works tested on vlan 5. Basically default config only vlan id changed doing all configs via luci
config interface 'lan'
option ifname 'eth1'
option type 'bridge'
option _orig_ifname 'eth1 wlan0'
option _orig_bridge 'true'
option proto 'dhcp'
config interface 'mesh_radio0'
option ifname 'adhoc0'
option mtu '1528'
option proto 'batadv'
option mesh 'bat0'
config interface 'wan'
option proto 'dhcp'
option type 'bridge'
option _orig_ifname 'eth0'
option _orig_bridge 'true'
option ifname 'eth0'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option mirror_source_port '0'
option mirror_monitor_port '0'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '1 5t 6'
config switch_vlan
option device 'switch0'
option vlan '5'
option vid '5'
option ports '0 2 5t'
config switch_vlan
option device 'switch0'
option vlan '7'
option ports '3 5t'
option vid '6'
config switch_vlan
option device 'switch0'
option vlan '8'
option ports '4 5t'
option vid '7'
config interface 'mesh_cable'
option proto 'batadv'
option ifname 'eth0.11'
option mesh 'bat0'
option mtu '1528'
This is how I save and apply it after which vlan 5 is not longer operational.
config interface 'lan'
option ifname 'eth1'
option type 'bridge'
option _orig_ifname 'eth1 wlan0'
option _orig_bridge 'true'
option proto 'dhcp'
config interface 'mesh_radio0'
option ifname 'adhoc0'
option mtu '1528'
option proto 'batadv'
option mesh 'bat0'
config interface 'wan'
option proto 'dhcp'
option type 'bridge'
option _orig_ifname 'eth0'
option _orig_bridge 'true'
option ifname 'eth0'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option mirror_source_port '0'
option mirror_monitor_port '0'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '3'
option ports '1 5t 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '5'
option ports '0t 2 5t'
config interface 'mesh_radio1'
option type 'bridge'
option _orig_ifname 'wlan1-1'
option _orig_bridge 'true'
option proto 'static'
option ip6addr 'fd5e:d3d9:ec93:3c4d::1'
option ifname 'eth0.12'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '11'
option ports '0t 3 5t'
config switch_vlan
option device 'switch0'
option vlan '4'
option vid '12'
option ports '0t 4 5t'
config interface 'mesh_cable'
option proto 'batadv'
option ifname 'eth0.11'
option mesh 'bat0'
option mtu '1528'
(Last edited by juni on 30 Jan 2015, 23:07)