We can create a bridge, and then multiple VLANs in that bridge using DSA:
config device
option name 'br-sw0'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
config bridge-vlan
option device 'br-sw0'
option vlan '12'
list ports 'lan1:t'
list ports 'lan2:t'
config bridge-vlan
option device 'br-sw0'
option vlan '15'
list ports 'lan1:t'
list ports 'lan2:t'
I have some 4/32 devices which are stuck at 19.07. To achieve the same result, I have to manually bridge each pair of VLAN interfaces together:
config interface 'vlan12'
option type 'bridge'
option ifname 'eth0.12 eth1.12'
option proto 'none'
config interface 'vlan15'
option type 'bridge'
option ifname 'eth0.15 eth1.15'
option proto 'none'
Is there any way to create a bridge and define bridge-vlan on 19.07? The configuration looks somewhat cleaner by avoiding creating multiple bridges.