<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
We use BIRD as Route Server.<br>
<br>
According your documentation we would like to know how given AS_PATH
can be modified for example:<br>
<br>
To delete ALL ASNs from given AS_PATH except one AS predefined in
int set.<br>
<br>
Here is my example config:<br>
<br>
function filter_bgp_as_path()<br>
int set remove_as;<br>
{<br>
remove_as = [ 50 ];<br>
bgp_path.filter(remove_as);<br>
<br>
return true;<br>
}<br>
<br>
table T65533<br>
<br>
protocol pipe P65533 from PIPES {<br>
description "TEST";<br>
peer table T65533;<br>
export all;<br>
}<br>
<br>
protocol bgp R65533x1 from PEERS {<br>
source address 10.0.0.200;<br>
description "TEST";<br>
neighbor 10.79.2.2 as 65533;<br>
multihop;<br>
import none;<br>
export where filter_bgp_as_path();<br>
table T65533;<br>
passive off;<br>
}<br>
<br>
After running "birdc configure" I see in bird.log to return the
following error:<br>
<br>
17-12-2013 14:44:47 <ERR> filters, line 8: Can't add/delete to
non-(e)clist<br>
17-12-2013 14:44:47 <ERR> filters, line 8: Can't add/delete to
non-(e)clist<br>
17-12-2013 14:44:47 <ERR> filters, line 8: Can't add/delete to
non-(e)clist<br>
<br>
Could you please point me in the right direction ? Is it possible at
all to modify AS_PATH attribute?<br>
<br>
Thanks in advance!<br>
<br>
Best~<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
---<br>
<a
href="http://cloudware.bg/?utm_source=email&utm_medium=signature&utm_content=link&utm_campaign=newwebsite"
style="font-family:Verdana; color:#00ACE5; font-size:12px;
text-decoration:none;">Find out about our new Cloud service -
Cloudware.bg</a><br>
<div style="font-family:Verdana; color:#A0A0A0;font-size:12px;">Access
anywhere. Manage it yourself. Pay as you go.</div>
<hr color="#103E81" align="left" noshade="noshade" size="1"
width="400px">
<div style="font-family:Verdana; color:#103E81; font-size:12px;">
<strong>Javor Kliachev</strong><br>
IP Engineer<br>
<br>
Neterra Ltd.<br>
Telephone: +359 2 975 16 16<br>
Fax: +359 2 975 34 36<br>
</div>
<a href="http://www.neterra.net" style="font-size:12px;
font-family:Verdana; color:#00ACE5; text-decoration:none;">www.neterra.net</a>
<br>
<br>
<br>
</div>
</body>
</html>