OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: npiersma on November 01, 2020, 05:47:44 pm

Title: Fine tuning BGP
Post by: npiersma on November 01, 2020, 05:47:44 pm
Hi guys,

I need some help fine-tuning my FRR BGP Setup.

In particular, setting up "set" parameters on the Route Map.

I need to set a weight or local-preference on the route map via the "set" option as shown on the "Edit route Maps" screen.

However, I've tried adding the following combinations there, but it just doesn't show up in the actual config when issuing sh run from vtysh.

I tried:
local-preference 300
"local-preference 300"
set local-preference 300
"set local-preference 300"

I tried the same for weight, with the same results, they just don't show up in the actual config.

I can add them using "vtshy" and conf term. But I would rather have it done by the gui ;)

Any recommendations on the correct syntax for the "Set" field is more than welcome.

Cheers
Niels
Title: Re: Fine tuning BGP
Post by: mimugmail on November 01, 2020, 09:04:00 pm
The first is correct If there is really a dash between
Title: Re: Fine tuning BGP
Post by: npiersma on November 01, 2020, 09:07:20 pm
mimugmail,

That's what I expected as well. Probably have to report a bug.
Whatever I put into the "set"  field, it doesn't end up in the vtysh "sh run" .

I see the route maps, but no configuration is added under the header.

Any place where I can find logging where it is logs the parsing of the supplied config?

Niels
Title: Re: Fine tuning BGP
Post by: mimugmail on November 02, 2020, 07:15:02 am
See github
Title: Re: Fine tuning BGP
Post by: skswain on June 18, 2021, 06:52:48 pm
I was facing the same issue. But after adding a "AS-Path List" to the route map, the "Set" attribute also gets processed.