Page MenuHomeVyOS Platform

bgp, Configuration FRR failed while commiting code
Closed, ResolvedPublicBUG

Description

set protocols bgp local-as 40484
set protocols bgp address-family ipv4-unicast network '205.147.40.32/27'
set protocols bgp address-family ipv6-unicast network '2604:0:C1::/48'
set protocols bgp neighbor 192.168.200.3 local-as 40484
set protocols bgp neighbor 192.168.200.3 remote-as '7397'
set protocols bgp neighbor 192.168.200.3 update-source '192.168.200.2'
set protocols bgp parameters router-id '192.168.200.2'

That fails while commiting, but it works if we remove the "192.168.200.3 local-as 40484" command.

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202104062128
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation

Event Timeline

You can't/don't need to set local-as for neighbor [ if neighbor local as == your global asn ]
Can you send a code error?

Viacheslav triaged this task as Normal priority.Wed, Apr 7, 9:02 PM
Viacheslav changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
c-po changed the task status from Open to In progress.Sat, Apr 10, 1:40 PM
c-po claimed this task.

frr-reload output: 184 % Cannot have local-as same as BGP AS number