bgp sumarization

Ondrej Filip feela at network.cz
Sun Dec 12 20:51:29 CET 2004


On Sun, 12 Dec 2004, [ISO-8859-1] Sörös Jozsef wrote:

> A sample config please !!!!
> Thanks in advance:
> Joseph

filter bgp_out {
         if (net = 10.1.0.0/20 ) && (source = RTS_STATIC) then accept;
         else reject;
}

protocol static {
         route 10.1.0.0/20 drop;	/* Or anything else */
}

protocol bgp bgp_peer_1 {
         local as 11111;
         neighbor 192.168.1.1 as 22222;
         import all;
         export filter bgp_out;
}

OK?

 			Ondrej


>
> Ondrej Filip wrote:
>
>> On Mon, 18 Oct 2004, Ramon Martinez wrote:
>> 
>>> 
>>> 
>>> Hello.
>>> 
>>> is there any way to sumarize routes in bgp? i am redistributing a lot 
>>> of /32 prefixes (coming from ospf) to bgp and i want to put them in a 
>>> /24
>>> 
>>> how can i do that?
>> 
>> 
>> You can simply "generate" /24 by static and export is to BGP.
>> 
>> Ondrej Filip
>> 
>>> 
>
>


More information about the Bird-users mailing list