Forum Discussion

Mandragor's avatar
Mandragor
Icon for Altostratus rankAltostratus
Oct 15, 2020

BGP - Conditional announcement of directly connected networks

Hi,

Is there any functionality to conditionally announce directly connected networks similarly to how you can use a route-map to conditionally announce a default route or how you can use RHI to conditionally announce kernel-routes?

My goal is to only announce connected routes on the active unit, but using

redistribute connected

announces the connected networks on all devices, while

redistribute connected route-map conditionalRoutemap

doesn't work (ie. the networks are not announced anywhere).

4 Replies

  • Hello Mandragor.

     

    Try to configure it with "in/out" parameter.

    You can also try with neighbor field instead.

    REF - https://support.f5.com/csp/article/K10095057

     

    Regards,

    Dario.

    • Mandragor's avatar
      Mandragor
      Icon for Altostratus rankAltostratus

      Thank you for your suggestion, but my issue is not to filter which connected networks to announce but on which device - I want to ensure that the connected networks are only announced on the active device, and by using neighbor route-map or prefix-list I still announce any matched network on the standby device as well, unfortunately.

      • Hello Mandragor.

        Your syntax should be fine.

        redistribute [connected|isis|kernel|ospf|rip|static] route-map WORD

        The issue could be in how your "conditionalRoutemap" is configured.

        Could you share it?

        Regards,

        Dario.