mikrotik CRS305-1G-4S+ and 8+

There’s big thread Using RouterOS to VLAN your network. Also manual, which people seem to underestimate, has some nice and I’d say easy to understand examples.