In cisco switch use VTP (Cisco proprietary protocol). For another vendors MVRP available for automatic configuration of VLAN information on switches.
It's good idea for MikroTik to use MVRP or similar protocols in RouterOS for routers and switches.