BIRD 2.0 BGP AS Path Prepending

L Ken playernkc at gmail.com
Thu Mar 21 11:33:42 CET 2019


 Hi,

As mentioned in
https://bird.network.cz/pipermail/bird-users/2017-December/011774.html,
BIRD 2.0 calls export_filter before LOCAL-AS is set to bgp_path.

In BIRD 1.6, following export filter create AS path "10001 10002 10003":
protocol bgp bgp1 {
  # some required bgp config here

  local as 10003;
  export filter {
     bgp_path.prepend(10002);
     bgp_path.prepend(10001);
  }
}

The same filter in BIRD 2.0 create AS path "10003 10001 10002" :
protocol bgp bgp1 {
  # some required bgp config here

  local as 10003;
  ipv4 {
    export filter {
      bgp_path.prepend(10002);
      bgp_path.prepend(10001);
    }
  }
}

Is there any way to "prepend" AS to Local-AS in BIRD 2.0 with result same
as 1.6?

Thanks,
---
K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190321/f37d581d/attachment.html>


More information about the Bird-users mailing list