Page MenuHomeVyOS Platform

Allow route-map to match on BGP local preference value
Closed, ResolvedPublicFEATURE REQUEST

Description

Hi,

We would like the ability to construct route maps that match prefixes where the BGP local preference is a certain value. We utilise this to subsequently alter the local preference when prefixes are distributed via regional route reflectors to essentially prefer in region recursive DNS resolvers to those available in other regions (ie anycast routing).

Another popular approach is to drop BGP local preference when prefixes are reflected to other regions so that the following policy gets applied:

  • Local customers
  • Remote customers
  • Local peers
  • Remote peers
  • Local transit
  • Remote transit

FRRouting natively supports route-map rules that 'match local-preference' so it was trivial to enable this in VyOS. Opening the request so that it can be tied to a proposed patch.

Regards
David Herselman

Details

Version
1.2.5
Is it a breaking change?
Perfectly compatible

Event Timeline

bbs2web added a project: vyatta-cfg-quagga.
bbs2web edited a custom field.

I've attached a simple patch to expose FRRouting's built-in capability of being able to match on prefix's BGP local preference to VyOS.

bbs2web changed the task status from Open to Needs testing.Jan 20 2020, 2:47 PM
bbs2web triaged this task as Normal priority.
bbs2web changed Version from - to 1.2+.
syncer closed this task as Unknown Status.Mar 28 2020, 12:05 PM
syncer assigned this task to jestabro.
syncer moved this task from Need Triage to Backport Candidates on the VyOS 1.3 Equuleus board.
dmbaturin changed the task status from Unknown Status to Resolved.Jul 26 2020, 11:27 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Version from 1.2+ to 1.2.5.

Dear Sir
Will it work with 1.4 ?
BR
Vishvas