BGP not running on vyos 1.3.0 rc5

Hi,

I have a problem when using VYOS 1.3.0 rc5 where BGP on that version can’t work properly. at the time of show ip bgp summary none of the peer bgp appears. here I attach my bgp configuration.

vyos@DR-VYOS-R630# run show configuration commands | grep bgp | strip-private
set protocols bgp XXXXXX address-family ipv4-unicast network xxx.xxx.29.112/29
set protocols bgp XXXXXX address-family ipv4-unicast network xxx.xxx.29.204/30
set protocols bgp XXXXXX address-family ipv4-unicast redistribute connected
set protocols bgp XXXXXX address-family ipv4-unicast redistribute static
set protocols bgp XXXXXX neighbor xxx.xxx.177.69 address-family ipv4-unicast route-map export 'EXPORT-BR1'
set protocols bgp XXXXXX neighbor xxx.xxx.177.69 address-family ipv4-unicast route-map import 'IMPORT-BR1'
set protocols bgp XXXXXX neighbor xxx.xxx.177.69 address-family ipv4-unicast route-reflector-client
set protocols bgp XXXXXX neighbor xxx.xxx.177.69 address-family ipv4-unicast soft-reconfiguration inbound
set protocols bgp XXXXXX neighbor xxx.xxx.177.69 remote-as '55666'
set protocols bgp XXXXXX neighbor xxx.xxx.177.73 address-family ipv4-unicast route-map export 'EXPORT-BR2'
set protocols bgp XXXXXX neighbor xxx.xxx.177.73 address-family ipv4-unicast route-map import 'IMPORT-BR2'
set protocols bgp XXXXXX neighbor xxx.xxx.177.73 address-family ipv4-unicast route-reflector-client
set protocols bgp XXXXXX neighbor xxx.xxx.177.73 address-family ipv4-unicast soft-reconfiguration inbound
set protocols bgp XXXXXX neighbor xxx.xxx.177.73 remote-as '55666'
set protocols bgp XXXXXX neighbor xxx.xxx.177.77 address-family ipv4-unicast route-map export 'EXPORT-BR3'
set protocols bgp XXXXXX neighbor xxx.xxx.177.77 address-family ipv4-unicast route-map import 'IMPORT-BR3'
set protocols bgp XXXXXX neighbor xxx.xxx.177.77 address-family ipv4-unicast route-reflector-client
set protocols bgp XXXXXX neighbor xxx.xxx.177.77 address-family ipv4-unicast soft-reconfiguration inbound
set protocols bgp XXXXXX neighbor xxx.xxx.177.77 remote-as '55666'
set protocols bgp XXXXXX neighbor xxx.xxx.177.81 address-family ipv4-unicast route-map export 'EXPORT-DR1'
set protocols bgp XXXXXX neighbor xxx.xxx.177.81 address-family ipv4-unicast route-map import 'IMPORT-DR1'
set protocols bgp XXXXXX neighbor xxx.xxx.177.81 address-family ipv4-unicast route-reflector-client
set protocols bgp XXXXXX neighbor xxx.xxx.177.81 address-family ipv4-unicast soft-reconfiguration inbound
set protocols bgp XXXXXX neighbor xxx.xxx.177.81 description 'DR1C'
set protocols bgp XXXXXX neighbor xxx.xxx.177.81 remote-as '55666'
set protocols bgp XXXXXX neighbor xxx.xxx.177.93 address-family ipv4-unicast route-map export 'EXPORT-DR7'
set protocols bgp XXXXXX neighbor xxx.xxx.177.93 address-family ipv4-unicast route-map import 'IMPORT-DR7'
set protocols bgp XXXXXX neighbor xxx.xxx.177.93 address-family ipv4-unicast route-reflector-client
set protocols bgp XXXXXX neighbor xxx.xxx.177.93 address-family ipv4-unicast soft-reconfiguration inbound
set protocols bgp XXXXXX neighbor xxx.xxx.177.93 description 'DR7-NCDC'
set protocols bgp XXXXXX parameters router-id 'xxx.xxx.125.111'
[edit]
vyos@DR-VYOS-R630# exit 
exit
vyos@DR-VYOS-R630:~$ show ip bgp summary 
% No BGP neighbors found
vyos@DR-VYOS-R630:~$

Thank you.

@maimun.najib
Your problem that you not set remote-as for this neighbor and save a party committed (configuration was committed with errors but you anyway saved it) configuration
Of course, after reboot, it will fail.

Delete this neighbor, or set correct remote-as.

I’ve added remote-as to the peer and it appears in the show ip bgp summary, but only 1 peer appears while in my configuration there are a total of 4 peers

vyos@DR-VYOS-R630:~$ show ip bgp summary 

IPv4 Unicast Summary:
BGP router identifier 10.251.125.111, local AS number 55666 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 21 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt
49.128.177.93   4      55666         0         0        0    0    0    never       Active        0

Total number of neighbors 1

Re-add please bgp configuration.
show conf com | match bgp copy it, delete all bgp config / commit
And paste configuration again. If you don’t see any errors after commit, you can save and reboot the router.

Did you check if there something in logs? Look for more information in VyOs logs, and also in remote peers log

@maimun.najib Did you ever get this fixed? Did you just delete the config and add it back.

I have a similar issue. However, I’ve upgraded from 1.2.8 to 1.3.0 epa3, and BGP is broken. Also, when trying to delete the configuration it complains about command specifics such as soft-reconfiguration inbound when trying to delete and other things. I have a mixture of peer groups, damping policy, route maps, etc.

I have the following output:

testrouter1:~$ sh ip bgp ipv4 unicast summary
% No BGP neighbors found

when deleting the configuration I see errors like:

vyatta-cfg-quagga[13453]: /usr/bin/vtysh -c configure terminal -c router bgp xxxxx -c address-family ipv4 unicast -c no neighbor x.x.x.x activate failed: 256

BGP clearly worked before with two full feeds.

@ocosa yes I removed and re-added the bgp configuration. after that for bgp it was running normally.

1 Like

That’s what I had to do.