Page MenuHomeVyOS Platform

Bgp peer-group and neighbor specific confiugration bugs
Confirmed, NormalPublicBUG

Description

For ipv6 neighbor that in peer-group impossible to set some neighbor ipv6 specific commands, such as "route-reflector-client/nexthop-self etc."

set protocols bgp 65001 peer-group INTERNALv6 remote-as '65001'
set protocols bgp 65001 peer-group INTERNALv6 update-source '2001:db8::1'
set protocols bgp 65001 neighbor 2001:db8::5 peer-group 'INTERNALv6'
set protocols bgp 65001 neighbor 2001:db8::5 address-family ipv6-unicast route-reflector-client

commit

[email protected]# commit
[ protocols bgp 65001 neighbor 2001:db8::5 address-family ipv6-unicast route-reflector-client ]
sh: line 0: [: 65001: unary operator expected

[ protocols bgp 65001 ]
[ protocols bgp 65001 neighbor 2001:db8::5 ]
  must set remote-as or address-family ipv6-unicast peer-group with remote-as defined

[edit]
[email protected]#

There are bugs in such checks https://github.com/vyos/vyatta-cfg-quagga/blob/d09903963d0fed75a1d1a256fffe674df26184e9/scripts/bgp/vyatta-bgp.pl#L1611-L1614

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3.0-rc6
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to Confirmed.Jan 20 2024, 2:33 AM
Viacheslav triaged this task as Normal priority.

Stil reproduced

vyos@r1# run show ver

Version:          VyOS 1.3.5