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

Reply via email to