/interface bridge
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes \
    disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s mtu=1500 \
    name=loopback1 priority=0x8000 protocol-mode=none transmit-hold-count=6
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes \
    disabled=no forward-delay=15s l2mtu=65535 max-message-age=20s mtu=1500 \
    name=bridge1 priority=0x8000 protocol-mode=none transmit-hold-count=6
/routing bgp instance
set default as=300 client-to-client-reflection=yes disabled=no \
    ignore-as-path-len=no name=default out-filter="" redistribute-connected=\
    no redistribute-ospf=no redistribute-other-bgp=no redistribute-rip=no \
    redistribute-static=no router-id=10.1.0.2 routing-table=""
/routing ospf instance
set default disabled=no distribute-default=if-installed-as-type-1 in-filter=\
    ospf-in metric-bgp=auto metric-connected=20 metric-default=1 \
    metric-other-ospf=auto metric-rip=20 metric-static=20 name=default \
    out-filter=ospf-out redistribute-bgp=no redistribute-connected=no \
    redistribute-other-ospf=no redistribute-rip=no redistribute-static=no \
    router-id=0.0.0.0
/routing ospf area
set backbone area-id=0.0.0.0 disabled=no instance=default name=backbone type=\
    default
add area-id=0.0.0.1 disabled=no instance=default name=area1 type=default
/ip address
add address=192.168.223.201/24 disabled=no interface=ether4 network=\
    192.168.223.0
add address=10.1.0.2/30 disabled=no interface=ether1 network=10.1.0.0
add address=10.1.0.5/30 disabled=no interface=ether2 network=10.1.0.4
add address=10.0.0.1/32 disabled=no interface=loopback1 network=10.0.0.1
add address=1.1.1.1/30 disabled=no interface=bridge1 network=1.1.1.0
/routing bgp network
add disabled=no network=1.1.1.0/24 synchronize=yes
add disabled=no network=2.2.2.0/24 synchronize=yes
add disabled=no network=3.3.3.0/24 synchronize=yes
add disabled=no network=4.4.4.0/24 synchronize=yes
/routing bgp peer
add address-families=ip as-override=no default-originate=never disabled=no \
    hold-time=3m in-filter=isp1-in instance=default multihop=no name=to-isp1 \
    nexthop-choice=default out-filter=isp1-out passive=no remote-address=\
    10.1.0.1 remote-as=100 remove-private-as=no route-reflect=no tcp-md5-key=\
    "" ttl=default use-bfd=no
/routing filter
add action=accept chain=isp1-in disabled=no invert-match=no prefix=0.0.0.0/0
add action=discard chain=isp1-in disabled=no invert-match=no prefix=0.0.0.0/0 \
    prefix-length=0-32
add action=accept chain=isp1-out disabled=no invert-match=no prefix=\
    1.1.1.0/24
add action=accept chain=isp1-out disabled=no invert-match=no prefix=\
    2.2.2.0/24
add action=accept chain=isp1-out disabled=no invert-match=no prefix=\
    3.3.3.0/24 set-bgp-prepend=3
add action=accept chain=isp1-out disabled=no invert-match=no prefix=\
    4.4.4.0/24 set-bgp-prepend=3
add action=discard chain=isp1-out disabled=no invert-match=no prefix=\
    0.0.0.0/0 prefix-length=0-32
/routing ospf area range
add advertise=yes area=area1 cost=calculated disabled=no range=1.1.1.0/24
/routing ospf interface
add authentication=none authentication-key="" authentication-key-id=1 cost=10 \
    dead-interval=10s disabled=no hello-interval=5s instance-id=0 interface=\
    ether2 network-type=broadcast passive=no priority=1 retransmit-interval=\
    3s transmit-delay=1s use-bfd=no
/routing ospf network
add area=backbone disabled=no network=10.1.0.4/30
add area=backbone disabled=no network=10.0.0.0/24
add area=area1 disabled=no network=1.1.1.0/24
/system identity
set name=mtk1