<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi list,<br>
    <br>
    I'm configuring a MikroTik CCR1072-1G-8S+ router (6.47.10) and BIRD2
    (2.0.7) to do BGP.<br>
    <br>
    The initial configuration is was very simple:<br>
    <br>
    <blockquote type="cite"><font size="+1" face="monospace">protocol
        bgp downstream {<br>
            local REDACTED as REDACTED;<br>
            neighbor REDACTED as REDACTED;<br>
        <br>
            hold time 30;<br>
            keepalive time 60;<br>
        }</font><br>
    </blockquote>
    <br>
    And:<br>
    <br>
    <blockquote type="cite"><font size="+1" face="monospace"> 0   ;;;
        Upstream IPv4 transit<br>
             name="bgp0" instance=default remote-address=REDACTED
        remote-as=REDACTED tcp-md5-key="" nexthop-choice=default
        multihop=no route-reflect=no hold-time=30s keepalive-time=1m
        ttl=255 in-filter="" out-filter="" address-families=ip
        update-source=REDACTED default-originate=never
        remove-private-as=no as-override=no passive=no use-bfd=no </font><br>
    </blockquote>
    <br>
    I got messages such as <b>Error: Required capability missing</b> so
    enabled debugging on both ends.<br>
    <br>
    Debugging showed (MikroTik's end):<br>
    <br>
    <blockquote type="cite"><font size="+1" face="monospace">06:10:33
        route,bgp,debug Unsupported capability received, code: 64 <br>
        06:10:33 route,bgp,debug Unsupported capability received, code:
        70 <br>
        06:10:33 route,bgp,debug Unsupported capability received, code:
        71 </font><br>
    </blockquote>
    <br>
    So I added to the configuration (hopefully the right switches):<br>
    <br>
    <blockquote type="cite"><font size="+1" face="monospace">  
         graceful restart off;<br>
            enable route refresh off;<br>
            long lived graceful restart off;</font><br>
    </blockquote>
    <br>
    Unfortunately it's still not working. Debugging (BIRD2's end) is
    showing:<br>
    <br>
    <blockquote type="cite"><font size="+1" face="monospace">Jun 18
        09:51:16 router bird: downstream: Connected<br>
        Jun 18 09:51:16 router bird: downstream: Sending OPEN(<b>ver=4</b>,as=REDACTED,hold=30,id=5914a2f9)<br>
        Jun 18 09:51:16 router bird: downstream: Got
        OPEN(as=23456,hold=30,id=185.173.132.2)<br>
        Jun 18 09:51:16 router bird: downstream: Error: Required
        capability missing<br>
        Jun 18 09:51:16 router bird: downstream: State changed to stop<br>
        Jun 18 09:51:16 router bird: downstream: Sending
        NOTIFICATION(code=2.7)<br>
        Jun 18 09:51:16 router bird: downstream: Down</font><br>
    </blockquote>
    <br>
    I suspected the ver=4 is the problem so I've added:<br>
    <br>
    <blockquote type="cite"><font size="+1" face="monospace">  
         advertise ipv4 off;</font><br>
    </blockquote>
    <br>
    But alas, BIRD2 is now complaining:<br>
    <br>
    <blockquote type="cite"><font size="+1" face="monospace">Reading
        configuration from /etc/bird/bird.conf<br>
        /etc/bird/bird.conf:217:2 syntax error, unexpected ADVERTISE</font><br>
    </blockquote>
    <br>
    Please advice what to do. I'm afraid I'm a little stuck.<br>
    <br>
    Thanks!<br>
    <br>
    Cheers,<br>
    Kees<br>
    <br>
    <div class="moz-signature">-- <br>
      <a href="https://nefos.nl/contact">https://nefos.nl/contact</a> <br>
      <br>
      Nefos IT bv<br>
      Ambachtsweg 25 (industrienummer 4217)<br>
      5627 BZ Eindhoven<br>
      Nederland<br>
      <br>
      KvK 66494931<br>
      <br>
      <i>Bereikbaar op maandag, dinsdag, woensdag en vrijdag tussen
        09:00u en 17:00u.</i></div>
  </body>
</html>