/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.17 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=10.0.0.4
/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.4 default-cost=1 disabled=no inject-summary-lsas=no \
    instance=default name=area4 type=stub
/ip address
add address=192.168.223.204/24 disabled=no interface=ether4 network=\
    192.168.223.0
add address=10.1.0.17/30 disabled=no interface=ether1 network=10.1.0.16
add address=10.1.0.14/30 disabled=no interface=ether2 network=10.1.0.12
add address=10.0.0.4/32 disabled=no interface=loopback1 network=10.0.0.4
add address=4.4.4.1/30 disabled=no interface=bridge1 network=4.4.4.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=isp2-in instance=default multihop=no name=to-isp2 \
    nexthop-choice=default out-filter=isp2-out passive=no remote-address=\
    10.1.0.18 remote-as=200 remove-private-as=no route-reflect=no \
    tcp-md5-key="" ttl=default use-bfd=no
/routing filter
add action=accept chain=isp2-out disabled=no invert-match=no prefix=\
    1.1.1.0/24 set-bgp-prepend=3
add action=accept chain=isp2-out disabled=no invert-match=no prefix=\
    2.2.2.0/24 set-bgp-prepend=3
add action=accept chain=isp2-out disabled=no invert-match=no prefix=\
    3.3.3.0/24
add action=accept chain=isp2-out disabled=no invert-match=no prefix=\
    4.4.4.0/24
add action=discard chain=isp2-out disabled=no invert-match=no prefix=\
    0.0.0.0/0 prefix-length=0-32
add action=accept chain=isp2-in disabled=no invert-match=no prefix=0.0.0.0/0
add action=discard chain=isp2-in disabled=no invert-match=no prefix=0.0.0.0/0 \
    prefix-length=0-32
/routing ospf area range
add advertise=yes area=area4 cost=calculated disabled=no range=4.4.4.0/24
/routing ospf network
add area=backbone disabled=no network=10.0.0.0/24
add area=backbone disabled=no network=10.1.0.12/30
add area=area4 disabled=no network=4.4.4.0/24
/system identity
set name=mtk4