asfilter/bgpmask

Arjan Filius iafilius at xs4all.nl
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.

tried:
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?

Regards,

Arjan Filius






-- 
Arjan Filius
mailto:iafilius at xs4all.nl



More information about the Bird-users mailing list