Page MenuHomeVyOS Platform

Bgp peer-group and neighbor specific confiugration bugs
Closed, WontfixPublicBUG

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

vyos@r4-1.3# 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]
vyos@r4-1.3#

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

Details

Version
VyOS 1.3.0-rc6
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
Viacheslav claimed this task.

The VyOS 1.3.x is EOL
for the newest versions fix here https://github.com/vyos/vyos-1x/pull/4663