Page MenuHomeVyOS Platform

deleting address-family under neighbor will disable neighbor
Needs testing, NormalPublic

Description

Hi,

I have following configuration:

set protocols bgp 1000 neighbor 192.168.8.179 remote-as '2000'
set protocols bgp 1000 parameters router-id '123.123.123.123'
set protocols bgp 1000 neighbor 192.168.8.179 address-family ipv4-unicast soft-reconfiguration inbound
set protocols bgp 1000 neighbor 192.168.8.179 address-family ipv4-unicast allowas-in number 10
set protocols bgp 1000 neighbor 192.168.8.179 address-family ipv4-unicast weight 1000

When I want to delete all configuration under address-family, I just issue following command:

delete  protocols bgp 1000 neighbor 192.168.8.179 address-family
or 
delete  protocols bgp 1000 neighbor 192.168.8.179 address-family ipv4-unicast

unfortunately, either of them just deactivate the bgp neighbor which didn't meet the expectation.

I checked frr configuration:

router bgp 1000
 bgp router-id 123.123.123.123
 neighbor 192.168.8.179 remote-as 2000
 !
 address-family ipv4 unicast
  no neighbor 192.168.8.179 activate
 exit-address-family

When I delete configuration under address-family under neighbor, I just mean that I don't want to configure these parameters rather then disable the neighbor at all, so please help to fix the problem.

best regards.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.x
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

MapleWang created this object in space S1 VyOS Public.
pasik added a subscriber: pasik.Jan 21 2020, 8:07 PM
syncer changed the task status from Open to Needs testing.Mar 28 2020, 12:03 PM
syncer assigned this task to Viacheslav.
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.