BGP and Redistribute Static with AS-Prepend

Kubacki Wojciech W.Kubacki at heidelberg-it.de
Thu Jan 3 08:49:55 CET 2013


[SOLVED]
For other user with the same problem:
I got replay from Roman Skopenko, he gave me solution that works.
 
protocol bgp test {
   local as 65501;
   neighbor 10.2.3.3 as 65501;
   export filter {
     if ( source = RTS_STATIC && net = 2.2.2.2/32 ) then {
       bgp_path.empty;
      bgp_path.prepend(65502);
       bgp_path.prepend(65501);
       accept;
     };
   };
};
 
So "bgp_path.empty" was that what I need.
 
Many tnx to Roman.
 
@ Vadim.
I have network connected with static route to my BGP router. 
This network has his own as-nr. 
I want announce this as-nr (my_as static-net_as)  to other BGP-Routers.
 
Best Regards.
Wojtek.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130103/b81a8f7d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6277 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130103/b81a8f7d/attachment-0001.bin>


More information about the Bird-users mailing list