VLAN Config CRS112 and CRS328

Hi,

At my lab i am trying to build a lab vlan on 2 switches for testen and config of mikrotik units.
Lab-1 switch is a CRS112-8P-4S
Lab-2 switch is a CRS-328-24P
On my desk i have the LAB-1 switch that is connected to our LAN network by 2 ethernet cables, and i can disconnect the LAB VLAN when needed.
However, when the LAB vlan is disconnected, we would still like the management VLAN to be connected.

In the config i want the hardware offloading to work on the bridge, because of performance.
However with the normal VLAN config where i attach a VLAN interface to a physical interface i loose hardware offloading because it uses the cpu instead of the switchchip.

i Am also aware that the CRS112 used vlan in a complete different way than the CRS328.
And to be honest, i am completely lost in the logic that mikrotik uses for vlans in these switches.

Anyone who can point me in the right direction?

Diagram

Config CRS-112

/interface bridge
add name=bridge-vlan

/interface bridge port
add bridge=bridge-vlan interface=sfp11
add bridge=bridge-vlan interface=sfp12
add bridge=bridge-vlan interface=ether1
add bridge=bridge-vlan interface=ether2
add bridge=bridge-vlan interface=ether3
add bridge=bridge-vlan interface=ether4
add bridge=bridge-vlan interface=ether5
add bridge=bridge-vlan interface=ether6
add bridge=bridge-vlan interface=ether7
add bridge=bridge-vlan interface=ether8

/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,sfp11

/interface ethernet switch egress-vlan-tag
add tagged-ports=sfp12 vlan-id=220
add tagged-ports=sfp12 vlan-id=221

/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=221 ports=ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,sfp11
add customer-vid=0 new-customer-vid=220 ports=sfp10

/interface ethernet switch vlan 
add ports=ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,sfp12,sfp11 vlan-id=221
add ports=switch1-cpu,sfp10 vlan-id=220

/ip address add address=192.168.16.246/24 interface=sfp10 network=192.168.16.0

Config CRS 328

/interface bridge
add mtu=1500 name=bridge-Wandy protocol-mode=none vlan-filtering=yes

/interface vlan
add interface=bridge-Wandy name=MGMT vlan-id=220

/interface bridge port
add bridge=bridge-Wandy interface=ether1 pvid=221
add bridge=bridge-Wandy interface=ether3 pvid=221
add bridge=bridge-Wandy interface=ether4 pvid=221
add bridge=bridge-Wandy interface=ether5 pvid=221
add bridge=bridge-Wandy interface=ether6 pvid=221
add bridge=bridge-Wandy interface=ether7 pvid=221
add bridge=bridge-Wandy interface=ether8 pvid=221
add bridge=bridge-Wandy interface=ether9 pvid=221
add bridge=bridge-Wandy interface=ether10 pvid=221
add bridge=bridge-Wandy interface=ether11 pvid=221
add bridge=bridge-Wandy interface=ether12 pvid=221
add bridge=bridge-Wandy interface=ether13 pvid=221
add bridge=bridge-Wandy interface=ether14 pvid=221
add bridge=bridge-Wandy interface=ether15 pvid=221
add bridge=bridge-Wandy interface=ether16 pvid=221
add bridge=bridge-Wandy interface=ether17 pvid=221
add bridge=bridge-Wandy interface=ether18 pvid=221
add bridge=bridge-Wandy interface=ether19 pvid=221
add bridge=bridge-Wandy interface=ether20 pvid=221
add bridge=bridge-Wandy interface=ether21 pvid=221
add bridge=bridge-Wandy interface=ether22 pvid=221
add bridge=bridge-Wandy interface=ether23 pvid=221
add bridge=bridge-Wandy interface=ether24 pvid=221
add bridge=bridge-Wandy interface=sfp-sfpplus1

/interface bridge vlan
add bridge=bridge-Wandy tagged=sfp-sfpplus1 vlan-ids=220
add bridge=bridge-Wandy tagged=bridge-Wandy,sfp-sfpplus1 untagged=ether1,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12,ether13,ether14,ether15,ether16,ether17,ether18,ether19,ether20,ether21,ether22,ether23,ether24 \
    vlan-ids=221
/ip address
add address=192.168.16.220/24 interface=MGMT network=192.168.16.0

lab-vlan.jpg

Only CRS3xx series support hardware offload at the same time with VLANs…