Page MenuHomeVyOS Platform

Bgp neighbor disable-connected-check does not work
Closed, ResolvedPublicBUG

Description

VyOS configuration:

set protocols bgp neighbor 192.0.2.2 address-family ipv4-unicast
set protocols bgp neighbor 192.0.2.2 disable-connected-check
set protocols bgp neighbor 192.0.2.2 remote-as '65002'
set protocols bgp system-as '65001'

Vtysh:

!
router bgp 65001
 no bgp ebgp-requires-policy
 no bgp default ipv4-unicast
 no bgp network import-check
 neighbor 192.0.2.2 remote-as 65002
 !
 address-family ipv4 unicast
  neighbor 192.0.2.2 activate
 exit-address-family
exit
!

Expected neighbor 192.0.2.2 disable-connected-check

!
router bgp 65001
 no bgp ebgp-requires-policy
 no bgp default ipv4-unicast
 no bgp network import-check
 neighbor 192.0.2.2 remote-as 65002
 neighbor 192.0.2.2 disable-connected-check
 !
 address-family ipv4 unicast
  neighbor 192.0.2.2 activate
 exit-address-family
exit
!

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202208170740
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)