I have followed the CRS examples and was successful in setting up tagged vlan management of the switch or the port based vlan setup but not both. Once I enter the commands to make my access ports slave to my SFP uplink, I lose management access to the switch and my port based vlan traffic starts flowing.
also I noticed while performing a wireshark i’m seeing vlan 200 traffic on the vlan 300 access port. Not sure how to fix that.
below is the my current export config I’m using;
# jan/01/2002 01:41:03 by RouterOS 6.29.1
#
/interface vlan
add interface=sfp-sfpplus1 l2mtu=1584 name=vlan100 vlan-id=100
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1,ether2,sfp-sfpplus1
/port
set 0 name=serial0
/tool user-manager customer
set admin access=own-routers,own-users,own-profiles,own-limits,config-payment-gw
/interface ethernet switch egress-vlan-tag
add tagged-ports=switch1-cpu vlan-id=100
add tagged-ports=sfp-sfpplus1 vlan-id=200
add tagged-ports=sfp-sfpplus1 vlan-id=300
/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=200 ports=ether1 sa-learning=yes
add customer-vid=0 new-customer-vid=300 ports=ether2 sa-learning=yes
/interface ethernet switch vlan
add ports=ether1,sfp-sfpplus1 vlan-id=200
add ports=ether2,sfp-sfpplus1 vlan-id=300
/ip address
add address=10.100.30.3/24 interface=vlan100 network=10.100.30.0
/tool romon port
add disabled=no
/tool user-manager database
set db-path=user-manager
When I add the following, I loose management access;
/interface ethernet
set ether1 master-port=sfp-sfpplus1
set ether2 master-port=sfp-sfpplus1