Unable to delete protocol bgp configuration if it uses "peer-group".
To reproduce.
set protocols bgp 65001 neighbor 10.0.0.2 interface peer-group 'foo' set protocols bgp 65001 neighbor 10.0.0.2 interface remote-as '65002' set protocols bgp 65001 peer-group foo commit vyos@r4-roll# delete protocols bgp [edit] vyos@r4-roll# commit [ protocols bgp 65001 ] % Create the bgp interface first Error configuring routing subsystem. See log for more detailed information [edit] vyos@r4-roll#
Vtysh
! router bgp 65001 neighbor foo peer-group !
Or 'internal' or 'external' param
set protocols bgp 65001 neighbor 10.0.0.2 interface peer-group 'foo' set protocols bgp 65001 neighbor 10.0.0.2 interface remote-as 'internal' set protocols bgp 65001 peer-group foo commit vyos@r4-roll# commit [ protocols bgp 65001 ] % Create the bgp interface first Error configuring routing subsystem. See log for more detailed information [edit] vyos@r4-roll#
Vtysh
! router bgp 65001 neighbor foo peer-group !