Describe the bug
While using different asn in BGP in different vrf, the configuration will not load correctly as the BGP after the first in the config file will be ignored and still use the first asn and drop all the configuration.
[X] Did you check if this is a duplicate issue?
[ ] Did you test it on the latest FRRouting/frr master branch?
To Reproduce
Config like
...
!
router bgp 65026
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
bgp confederation identifier 205532
...
!
router bgp 205532 vrf UpStream
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
...
!
write memory
exit vtysh
service frr restart
vtysh
show run
and then check the output
!
router bgp 65026
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
!
router bgp 65026 vrf UpStream
!
Expected behavior
The config is loaded correctly and service running correctly.
Screenshots
Versions
>cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.15.0_alpha20210804
PRETTY_NAME="Alpine Linux edge"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
>uname -a
Linux ga-router 5.10.60-0-lts #1-Alpine SMP Thu, 19 Aug 2021 08:33:31 +0000 x86_64 Linux
Additional context
I can actually run service frr reload to workaround this thing but if bgpd is being restarted, it will not load config correctly.
Describe the bug
While using different asn in BGP in different vrf, the configuration will not load correctly as the BGP after the first in the config file will be ignored and still use the first asn and drop all the configuration.
[X] Did you check if this is a duplicate issue?
[ ] Did you test it on the latest FRRouting/frr master branch?
To Reproduce
Config like
write memoryexit vtysh
service frr restartvtyshshow runand then check the output
Expected behavior
The config is loaded correctly and service running correctly.
Screenshots
Versions
Additional context
I can actually run
service frr reloadto workaround this thing but if bgpd is being restarted, it will not load config correctly.