<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello <br>
<br>
This is a snippet of my configurations<br>
<br>
<br>
<i><small><small><br>
function match_as () {<br>
if (bgp_path ~ [= * 1111 =]) then return true;<br>
if (bgp_path ~ [= 2222 =]) then return true;<br>
<br>
return false;<br>
}<br>
<br>
<br>
<br>
filter bgp_in_AS111<br>
<br>
{<br>
.<br>
.<br>
if ! (match_as_AS()) then reject;<br>
accept;<br>
}<br>
<br>
template bgp Peer {<br>
.<br>
.<br>
.<br>
import filter bgp_in_AS111;<br>
}</small></small></i><br>
<br>
<br>
from the above i want Bird to allow AS 1111 and other subsequent
AS paths to be allowed access.<br>
But for AS 2222, no subsequent AS Paths to be allowed.<br>
<br>
Am i on the right track?<br>
<br>
In-case you are wondering why the need AS1111 represent Networks
with good network administrators while AS 2222 are those who don't<br>
<br>
On 6/28/2013 11:04 AM, Ondrej Filip wrote:<br>
</div>
<blockquote cite="mid:51CD5F9F.2000906@network.cz" type="cite">
<pre wrap="">On 28.6.2013 11:57, Anibe Onuche wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello All.
</pre>
</blockquote>
<pre wrap="">
Hi Anibe,
I am not sure what do you really want. But I suggest you, to look at
our WIKI - <a class="moz-txt-link-freetext" href="https://redmine.labs.nic.cz/projects/bird/wiki/Examples">https://redmine.labs.nic.cz/projects/bird/wiki/Examples</a>
There is a lot of god examples, how to configure BIRD as route server
including filtering.
Ondrej
</pre>
<blockquote type="cite">
<pre wrap="">
I work with an IX and considering implementing bird as my route server.
Was successful in my lab implementation
need a few config to be through.
I want to configure a function on my bird that will only allow
certain network containing some as-path to be used.(i.e as-path filters)
While at that, other network have valid bgp paths attached to their
as-path should also be imported.
How do i go about this ?
Regards
Anibe
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
</body>
</html>