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 !