Combining routes in BIRD BGP export
Dmitry S. Nikolaev
dnikolaev at mega-net.ru
Wed Mar 26 05:36:36 CET 2014
Hi.
Also you can use:
protocol static {
#Our Aggregated prefix
route 1.2.3.0/24 drop;
}
filter out {
if (source = RTS_STATIC) && (net = 1.2.3.0/24) then {
accept "OUT: Announce our Aggregated pref ", net;
}
reject;
}
protocol bgp {
...skiped....
export filter OUT;
...skiped...
}
--
With best regards, Dmitry S. Nikolaev
Moscow, Russia
mail: dnikolaev at mega-net.ru
On 26.03.2014 00:54, Ondrej Zajicek wrote:
> On Thu, Mar 06, 2014 at 08:08:20PM +1300, Andy Linton wrote:
>> I saw a recent post about combining routes in OSPF and wanted the answer to
>> the BGP version of the question.
>>
>> I have a /24 split into several subnets on my BGP speaking box. I only want
>> to export the /24.
>>
>> On quagga or cisco I'd use a "network" statement.
> Usual solution is to use static route with that prefix. See this example:
>
> https://gitlab.labs.nic.cz/labs/bird/wikis/BGP_example_1
>
More information about the Bird-users
mailing list