On Fri, 28 Jul 2017, Ondrej Zajicek wrote:

On Fri, Jul 21, 2017 at 01:24:52AM +0200, e2rd wrote:
Hi,
Is there any way to configure BGP Conditional Advertisement like in cisco:
http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/16137-cond-adv.html
?

Hi

It is not directly supported. It may be possible to use a trick with
static recursive route - add a static recursive route pointing to an IP
address in the conditional range using a static protocol, then filter
it out based on value of 'gw' property. Note that it must be done
in export filters of other protocols, not in import filter of
the static protocol.

Hi,
thanks, that trick works but I have another problem. Route which I want to export is distributed via OSPF. I've set preference of static "condition" protocol lower than OSPF (and filtered it out in kernel export) but now this trick doesn't works. Do you have another trick for this? ;)

--
Ɓukasz

Reply via email to