Importing/exporting only static routes from the kernel

Oleg lego12239 at yandex.ru
Wed May 29 14:20:02 CEST 2013


On Wed, May 29, 2013 at 01:16:13PM +0100, Rob Greenwood wrote:
> Hi Oleg,
> 
> Could you give an example? I tried doing export where source = RTS_STATIC;
> but that didn't seem to work

  This is a simple import filter:

  protocol kernel {
    ...
    import where source = RTS_STATIC;
    export all;
  }

  If unreachable routes pass this filter too, you can filter off its by the
next expression:

  import where dest != RTD_UNREACHABLE;




More information about the Bird-users mailing list