<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi.<br>
<br>
Yes, why not.<br>
<br>
filter ospfOUT {<br>
if (source = RTS_STATIC) && (net = 1.2.3.0/24) then {<br>
accept "ospfOUT: Send our Aggregated pref ", net;<br>
}<br>
reject;<br>
}<br>
<br>
protocol ospf {<br>
...skiped....<br>
area 0.0.0.0 {<br>
...skiped....<br>
};<br>
import filter ospfIN;<br>
export filter ospfOUT;<br>
}<br>
<br>
<pre class="moz-signature" cols="72">
---
With best regards, Dmitry S. Nikolaev
Moscow, Russia
mail: <a class="moz-txt-link-abbreviated" href="mailto:dnikolaev@mega-net.ru">dnikolaev@mega-net.ru</a>
</pre>
On 26.03.2014 10:50, <a class="moz-txt-link-abbreviated" href="mailto:arno.odermatt@ch.schindler.com">arno.odermatt@ch.schindler.com</a> wrote:<br>
</div>
<blockquote
cite="mid:OFB022F2D3.6A400E59-ONC1257CA7.002561B2-C1257CA7.00259055@schindler.com"
type="cite"><font face="sans-serif" size="2">Hi all,</font>
<br>
<br>
<font face="sans-serif" size="2">is this aggregation method also
to be
used for OSPF (outgoing an interface in area 0.0.0.0)?</font>
<br>
<br>
<font face="sans-serif" size="2">thx for your advise</font>
<br>
<br>
<font face="sans-serif" size="2">Ar<br>
</font>
<br>
<font face="sans-serif" size="2"><br>
</font><font color="#008000" face="Arial" size="1"><br>
</font>
<br>
<br>
<br>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">From:
</font><font face="sans-serif" size="1">"Dmitry S. Nikolaev"
<a class="moz-txt-link-rfc2396E" href="mailto:dnikolaev@mega-net.ru"><dnikolaev@mega-net.ru></a></font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">To:
</font><font face="sans-serif" size="1">Andy Linton
<a class="moz-txt-link-rfc2396E" href="mailto:asjl@lpnz.org"><asjl@lpnz.org></a>,
</font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">Cc:
</font><font face="sans-serif" size="1"><a class="moz-txt-link-abbreviated" href="mailto:bird-users@network.cz">bird-users@network.cz</a></font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">Date:
</font><font face="sans-serif" size="1">26.03.2014 05:36</font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">Subject:
</font><font face="sans-serif" size="1">Re: Combining
routes in BIRD BGP export</font>
<br>
<font color="#5f5f5f" face="sans-serif" size="1">Sent by:
</font><font face="sans-serif" size="1"><a class="moz-txt-link-abbreviated" href="mailto:owner-bird-users@atrey.karlin.mff.cuni.cz">owner-bird-users@atrey.karlin.mff.cuni.cz</a></font>
<br>
<hr noshade="noshade">
<br>
<br>
<br>
<tt><font size="2">Hi.<br>
<br>
Also you can use:<br>
protocol static {<br>
#Our Aggregated prefix<br>
route 1.2.3.0/24 drop;<br>
}<br>
<br>
filter out {<br>
if (source = RTS_STATIC) && (net = 1.2.3.0/24) then
{<br>
accept "OUT: Announce our Aggregated pref
", net;<br>
}<br>
reject;<br>
}<br>
<br>
protocol bgp {<br>
...skiped....<br>
export filter OUT;<br>
...skiped...<br>
}<br>
<br>
--<br>
With best regards, Dmitry S. Nikolaev<br>
<br>
Moscow, Russia<br>
mail: <a class="moz-txt-link-abbreviated" href="mailto:dnikolaev@mega-net.ru">dnikolaev@mega-net.ru</a><br>
<br>
On 26.03.2014 00:54, Ondrej Zajicek wrote:<br>
> On Thu, Mar 06, 2014 at 08:08:20PM +1300, Andy Linton
wrote:<br>
>> I saw a recent post about combining routes in OSPF
and wanted
the answer to<br>
>> the BGP version of the question.<br>
>><br>
>> I have a /24 split into several subnets on my BGP
speaking box.
I only want<br>
>> to export the /24.<br>
>><br>
>> On quagga or cisco I'd use a "network" statement.<br>
> Usual solution is to use static route with that prefix.
See this example:<br>
><br>
> </font></tt><a moz-do-not-send="true"
href="https://gitlab.labs.nic.cz/labs/bird/wikis/BGP_example_1"><tt><font
size="2">https://gitlab.labs.nic.cz/labs/bird/wikis/BGP_example_1</font></tt></a><tt><font
size="2"><br>
><br>
<br>
</font></tt>
<br>
<br clear="all">
******************************************************<br>
Notice: The information contained in this message is intended only
for use of the individual(s) named above and may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any
mistransmission. If you are not the intended recipient of this
message you are hereby notified that you must not use, disseminate
, copy it in any form or take any action in reliance of it. If you
have received this message in error please delete it and any
copies of it and notify the sender immediately.<br>
*******************************************************<br>
</blockquote>
<br>
</body>
</html>