bgppath.filter question - modifying AS_PATH

Sergey Popovich popovich_sergei at mail.ru
Tue Dec 17 14:18:47 CET 2013


В письме от 17 декабря 2013 14:52:09 пользователь Javor Kliachev написал:
> Hello,
> 
> We use BIRD as Route Server.

Which BIRD version is used on your RS?
bgp_path.filter support added with commit

commit bff9ce5130d16af2fd802d42bdb2bff00980c9ae
Author: Ondrej Zajicek <>
Date:   Thu Aug 15 01:06:47 2013 +0200

  Extends delete/filter operators to work no bgp_paths.

which now is part of 1.4.0 release.

> 
> According your documentation we would like to know how given AS_PATH can
> be modified for example:
> 
> To delete ALL ASNs from given AS_PATH except one AS predefined in int set.
> 
> Here is my example config:
...
> After running "birdc configure" I see in bird.log to return the
> following error:
> 
> 17-12-2013 14:44:47 <ERR> filters, line 8: Can't add/delete to non-(e)clist
> 17-12-2013 14:44:47 <ERR> filters, line 8: Can't add/delete to non-(e)clist
> 17-12-2013 14:44:47 <ERR> filters, line 8: Can't add/delete to non-(e)clist
> 

Is bgp_path attribute defined when you call function filter_bgp_as_path()?
I can reproduce this on BIRD 1.4.0 filter messages only with routes with 
undefined bgp_path (e.g. defined(bgp_path) returns false).

> Could you please point me in the right direction ? Is it possible at all
> to modify AS_PATH attribute?
> 
> Thanks in advance!
> 
> Best~

-- 
SP5474-RIPE
Sergey Popovich



More information about the Bird-users mailing list