BGP and Redistribute Static with AS-Prepend

Kubacki Wojciech W.Kubacki at heidelberg-it.de
Wed Jan 2 14:52:56 CET 2013


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
 





More information about the Bird-users mailing list