AS-Path prepending in Pipes or Filters

Wolfgang Hennerbichler wh at univie.ac.at
Thu Sep 17 12:48:28 CEST 2009


On 17.09.2009, at 11:37, Ondrej Filip wrote:

> On 17.9.2009 11:09, Wolfgang Hennerbichler wrote:
>> Dear BIRD-Users,
>>
>> I'm currently investigating if it's possible to do as-path  
>> prepending in
>> bird in filters or pipes.
>> What I could find was this:
>> bgppath
>> BGP path is a list of autonomous system numbers. You can't write
>> literals of this type.
>
> Use e.g. this:
>
> export filter {
> 	if source = RTS_STATIC then {
> 		bgp_path.prepend(65000);
> 		accept;
> 	}
> 	reject;
> };

Ah, thanks a lot! Should have done more reading...

>> too bad. The goal would be to be able to do a prepending per peer  
>> within
>> a pipe or filter. Does Anybody know if this is possible?
>>
>
> 			Ondrej
>
>>
>>
>> Wolfgang
>>
>>
>>
>
>

-- 
www.vix.at | www.aco.net
wh at univie.ac.at | WH844-RIPE
Vienna University Computer Center



More information about the Bird-users mailing list