bgp routing | just allow ospf redistribution to one single bgp neighbor and not connected and static
Dear colleagues,
I am looking for an article or advice on how to redistribute only OSPF routes to a single BGP neighbor, without including connected or static routes.
We are using a FortiGate device where all routes—connected, static, and OSPF—are currently being redistributed to all BGP neighbors, which is the intended behavior. No filters are in place, as all routes should be advertised.
However, we have recently added another BGP neighbor where we want to redistribute only OSPF routes. I have not been able to find a clear way to achieve this.
I know it is possible to add a filter, but it seems that I would need to manually include all OSPF networks, which I would prefer to avoid for future scalability and maintenance.
Has anyone encountered a similar requirement and could point me in the right direction?
Many thanks in advanced and best regards,
Joerg
