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 [email protected]# delete protocols bgp [edit] [email protected]# commit [ protocols bgp 65001 ] % Create the bgp interface first Error configuring routing subsystem. See log for more detailed information [edit] [email protected]#
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 [email protected]# commit [ protocols bgp 65001 ] % Create the bgp interface first Error configuring routing subsystem. See log for more detailed information [edit] [email protected]#
Vtysh
! router bgp 65001 neighbor foo peer-group !