I am trying to wrap my head around where I need to actively configure vlan settings on the switch ports.
Most commonly, if I want to create a VLAN trunk to an external switch, I simply create multiple VLAN interfaces and assign them all to the same physical port on the Mikrotik. I end up with a trunk that has a layer 3 interface per VLAN and an untagged interface on the physical port itself. I can do this on a port that is part of an Atheros chipset, or any other. I use this a lot.
Now, say I want to utilise the vlan capability in the switch. In my case, I want to create a slave port which is untagged in one of my vlans so I can plug a non-vlan aware device directly into my router and not an upstream switch.
I will use ether1 as master (and my vlan trunk to the remote switch) and ether2 as slave (and access port to my device) in this case. I will define vlan interfaces 2,3 and 4. Vlan2 will be the vlan I want to supply to ether2 untagged.
I create my vlans and assign them to ether1 as normal. I then go into switch settings and define vlan 2. I assign this vlan to my ether1 and ether2. I then go to the ports tab on the switch and set ether1 to fallback, leave as is and ether2 to secure, always strip, default vlan 2.
This seems to be all I need to do. The other vlans (vlans 3 and 4) seem to travel around the switch OK untouched.
Am I doing this right? Do I need to define all vlans on the switch to match the vlan interfaces I have created?