BIRD 2.0 BGP AS Path Prepending
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
Hi, Why do you want to prepend with an ASN that’s not yours? -- Alarig
Hello, You can disable autoprepending of your side's AS by using rs-client and prepend it manually in the place you like. On Thu, Mar 21, 2019 at 11:41 AM L Ken <playernkc@gmail.com> wrote:
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
participants (3)
-
Alarig Le Lay -
Alexander Zubkov -
L Ken