bgp announce default route to lower router, what is the bird version of default-originate / default-information orginate?

Гришин В.С. Vladislav.Grishin at vts24.ru
Wed Oct 18 17:41:49 CEST 2017


filter CLIENT123_out {

  # announce only default
         if  net =  0.0.0.0/0  then {
                 accept;
         }
  # announce FV, except default

        if ( source = RTS_BGP && net != 0.0.0.0/0 ) then {
        accept;
        }
        reject;
};


18.10.2017 15:47, Gelderman, Richard пишет:
>
> How can I announce a default route to a lower router who does not need 
> a full table.
>
> What is de Bird equivalent  of “default-orginitate” or 
> “default-information originate”.
>
> Currently I use a filter with a static blackhole route:
>
> protocol static {
>
> route 0.0.0.0/0 blackhole;
>
> }
>
> filter senddefault {
>
> if net = 0.0.0.0/0 then accept;
>
> reject;
>
> }
>
> template bgp local_as_ibgp_lowrouter {
>
> #
>
> export filter senddefault;
>
> }
>

Best regards
Vladisalv

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20171018/0486625f/attachment.html>


More information about the Bird-users mailing list