Arjan Filius iafilius at
Thu Jun 10 08:21:02 CEST 2010

Hello bird-users,

i'm trying to make a bgp_out filter statement which allows only it's own 
AS or multiple time's it's own AS.

define AS = YYY;
if (  (bgp_path ~ [= AS =] || bgp_path ~ [= AS AS =] ) && net =  X.X.X.X/X ) then accept;

which works fine, but if not very elegant/flexible

Is there a better/more elegant way to do so?


Arjan Filius

Arjan Filius
mailto:iafilius at

More information about the Bird-users mailing list