I can create the vlans under the switch just fine:
Code: Select all
[admin@MikroTik] /interface ethernet switch vlan> print
Flags: X - disabled, I - invalid
# SWITCH VLAN-ID PORTS
0 switch1 12 ether5-local-slave
ether4-local-slave
1 switch1 10 ether5-local-slave
ether4-local-slave
ether3-local-slave
[admin@MikroTik] /interface ethernet switch vlan> export
# jan/02/1970 03:11:00 by RouterOS 4.11
# software id = PMKU-BM7M
#
/interface ethernet switch vlan
add disabled=no ports=ether5-local-slave,ether4-local-slave switch=switch1 vlan-id=12
add disabled=no ports=ether5-local-slave,ether4-local-slave,ether3-local-slave switch=switch1 vlan-id=10
What I'd like to add is port eth3 which should tag all incomming frames with vlan10 and remove any vlan header on outgoing frames - I believe this should be possible using the switch Rules but I cant for the life of me get it to work.
Can anybody help me in the right direction ?