Page MenuHomeVyOS Platform

bgp: AS specified for local as is the same as the remote as and this is not allowed.
Closed, ResolvedPublicBUG

Description

BGP config

set protocols bgp neighbor 10.200.0.91 address-family 'ipv4-unicast'
set protocols bgp neighbor 10.200.0.91 local-as 65528 no-prepend 'replace-as'
set protocols bgp neighbor 10.200.0.91 remote-as '65528'

results in vyos.frr.ConfigurationNotValid

FRR states:

frr-reload output: 171 % AS specified for local as is the same as the remote as and this is not allowed.
frr-reload output: 172 line 2: Failure to communicate[13] to bgpd, line:  neighbor 10.200.0.91 local-as 65528 no-prepend replace-as

Details

Difficulty level
Easy (less than an hour)
Version
1.4-rolling-202204161537
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.Apr 18 2022, 8:23 AM
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po created this task.