Describe the bug
I have two transit peers for v6 and noticed one of the sessions was getting closed due to max prefixes, which happened to be slightly more than 200,000 (full table from provider). Other session at ~196k had not hit this limit yet.
Looking at the config documentation, "import-limit6" default is listed as 300,000, but when running pathvector generate it translates to "20000" in the generated BIRD config file when "import-limit6" not explicitly set in template or peer configuration within pacthvector's configuration file.
Environment
- Output from
pathvector version
Pathvector 6.3.2
Built c35220bf121f366ff05a51d93c6236e8c324d682 on 2023-06-11T07:03:14Z
No plugins
BIRD: ready.
- OS version
root@core:~# uname -ar
Linux core 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
root@core:~# cat /etc/debian_version
12.5
root@core:~#
- Minimum reproducible example of your Pathvector config file formatted with triple backticks with
yaml language identifier
templates:
transit:
filter-irr: false
filter-rpki: false
announce: [ "394414:0:15" ]
remove-all-communities: 394414
local-pref: 100
auto-as-set: false
auto-import-limits: false
add-on-import: [ "394414:0:12" ]
To Reproduce
Steps to reproduce the behavior:
- Copy this config to pathvector.yml...
- Run
pathvector -v generate and it processes correctly without any errors.
- Open peer's BIRD config file and see that definition of v6 import limit is "200000".
Expected behavior
BIRD configuration for peer should have IPv6 limit set to 300,000 rather than 200,000:
...
define AS6939_HEV6_IMPORT_v6 = 200000;
...
after setting "import-limit6" in pathvector.yml to 400000, the generated BIRD config file for peer updates as expected:
...
define AS6939_HEV6_IMPORT_v6 = 400000;
...
Describe the bug
I have two transit peers for v6 and noticed one of the sessions was getting closed due to max prefixes, which happened to be slightly more than 200,000 (full table from provider). Other session at ~196k had not hit this limit yet.
Looking at the config documentation, "import-limit6" default is listed as 300,000, but when running
pathvector generateit translates to "20000" in the generated BIRD config file when "import-limit6" not explicitly set in template or peer configuration within pacthvector's configuration file.Environment
pathvector versionyamllanguage identifierTo Reproduce
Steps to reproduce the behavior:
pathvector -v generateand it processes correctly without any errors.Expected behavior
BIRD configuration for peer should have IPv6 limit set to 300,000 rather than 200,000:
after setting "import-limit6" in pathvector.yml to 400000, the generated BIRD config file for peer updates as expected: