BGP and Redistribute Static with AS-Prepend

Vadim Urazaev tretuliy2 at gmail.com
Thu Jan 3 07:01:22 CET 2013


It`s weird that you need something like that, can you explain what aim do
you want to reach in that way.
I think that prepend can only be added after yours autonomus system.

2013/1/2 Kubacki Wojciech <W.Kubacki at heidelberg-it.de>

> Hallo,
> ist there any way to implement BGP and Redistibute Static with AS-Prepend.
>
> I would like to implement following configuration:
> --------
> protocol static {
>   route 2.2.2.2/32 via 10.1.2.1; }
>
> 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.prepend(65502);
>       accept;
>     };
>   };
> };
> ---------
>
> On the other router i got following:
>
> R2#sh ip bgp
> .
>    Network      Next Hop   Metric LocPrf Weight Path
> *> 2.2.2.2/32   10.2.2.2                      0      65502 65501 ?
>
>
> I want this (65501 65502) not  (65502 65501).
>
> Any help would be greatly appreciated.
>
>
> Mit freundlichen Grüßen
>
>
> Wojtek Kubacki
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130103/4339ed17/attachment-0001.html>


More information about the Bird-users mailing list