/export file=anynameyouwish ( minus router serial number, any public WANIP information, keys etc. )
model = CRS328-24P-4S+
# serial number =
/interface bridge
add ingress-filtering=no name=Bridge vlan-filtering=yes
/interface ethernet
set [ find default-name=ether9 ] disabled=yes
set [ find default-name=ether10 ] disabled=yes
set [ find default-name=ether11 ] disabled=yes
set [ find default-name=ether12 ] disabled=yes
set [ find default-name=ether13 ] disabled=yes
set [ find default-name=ether14 ] disabled=yes
set [ find default-name=ether15 ] disabled=yes
set [ find default-name=ether16 ] disabled=yes
set [ find default-name=ether17 ] disabled=yes
set [ find default-name=ether18 ] disabled=yes
set [ find default-name=ether19 ] disabled=yes
set [ find default-name=ether20 ] disabled=yes
set [ find default-name=ether21 ] disabled=yes
set [ find default-name=ether22 ] disabled=yes
set [ find default-name=ether24 ] disabled=yes
set [ find default-name=sfp-sfpplus3 ] disabled=yes
set [ find default-name=sfp-sfpplus4 ] disabled=yes
/interface vlan
add comment="\"MGMT\"" interface=Bridge name=vlan0.5.99 vlan-id=99
/interface list
add name=WAN
add name=LAN
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=pool1 ranges=192.168.1.2-192.168.1.100
/port
set 0 name=serial0
/interface bridge port
add bridge=Bridge comment=AP-99-10-20-30 interface=ether1
add bridge=Bridge comment=iot ingress-filtering=no interface=ether2 pvid=20
add bridge=Bridge ingress-filtering=no interface=ether3 pvid=10
add bridge=Bridge comment=Trusted ingress-filtering=no interface=ether4 pvid=10
add bridge=Bridge comment=Trusted ingress-filtering=no interface=ether5 pvid=10
add bridge=Bridge comment=Trusted ingress-filtering=no interface=ether6 pvid=10
add bridge=Bridge comment=DMZ ingress-filtering=no interface=ether7 pvid=40
add bridge=Bridge interface=ether8
add bridge=Bridge interface=ether23
add bridge=Bridge interface=sfp-sfpplus1 unknown-unicast-flood=no
add bridge=Bridge comment=DMZ interface=sfp-sfpplus2 pvid=40 \
unknown-unicast-flood=no
/ip firewall connection tracking
set udp-timeout=10s
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes
/interface bridge vlan
add bridge=Bridge comment=MGMT tagged=ether23,Bridge,ether1 untagged=ether8 \
vlan-ids=99
add bridge=Bridge comment=Trusted tagged=sfp-sfpplus1,ether1,Bridge vlan-ids=10
add bridge=Bridge comment=DMZ tagged=sfp-sfpplus1 untagged=ether7,sfp-sfpplus2 \
vlan-ids=40
add bridge=Bridge comment=iot tagged=Bridge,ether1,sfp-sfpplus1 untagged=ether2 \
vlan-ids=20
add bridge=Bridge comment=Guest tagged=Bridge,ether1,sfp-sfpplus1 vlan-ids=30
/interface ethernet switch
set 0 l3-hw-offloading=yes
/interface list member
add interface=ether1 list=WAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=ether6 list=LAN
add interface=ether7 list=LAN
add interface=ether8 list=LAN
add interface=ether9 list=LAN
add interface=ether10 list=LAN
add interface=ether11 list=LAN
add interface=ether12 list=LAN
add interface=ether13 list=LAN
add interface=ether14 list=LAN
add interface=ether15 list=LAN
add interface=ether16 list=LAN
add interface=ether17 list=LAN
add interface=ether18 list=LAN
add interface=ether19 list=LAN
add interface=ether20 list=LAN
add interface=ether21 list=LAN
add interface=ether22 list=LAN
add interface=ether23 list=LAN
add interface=ether24 list=LAN
add interface=sfp-sfpplus1 list=LAN
add interface=sfp-sfpplus2 list=LAN
add interface=sfp-sfpplus3 list=LAN
add interface=sfp-sfpplus4 list=LAN
/interface ovpn-server server
set auth=sha1,md5
/ip address
add address=192.168.99.2/24 comment=defconf interface=ether2 network=\
192.168.99.0
add address=192.168.99.2/24 comment="\"MGMT\"" interface=vlan0.5.99 network=\
192.168.99.0
/ip dhcp-client
add disabled=yes interface=Bridge
/ip dns
set servers=9.9.9.9,1.1.1.1
/ip ipsec profile
set [ find default=yes ] dpd-interval=2m dpd-maximum-failures=5
/ip route
add disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=192.168.9.1 \
routing-table=main scope=30 suppress-hw-offload=no target-scope=10
add comment=MGMT disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
192.168.99.1 routing-table=main scope=30 suppress-hw-offload=no \
target-scope=10
/routing bfd configuration
add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
/system clock
set time-zone-name=
/system note