AS-Path prepending in Pipes or Filters

Ondrej Filip feela at network.cz
Thu Sep 17 11:37:24 CEST 2009


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;
};

> 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
> 
> 
> 




More information about the Bird-users mailing list