Page MenuHomeVyOS Platform

Allow route-map to match on BGP local preference value
Backport candidate, NormalPublicFEATURE 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

Difficulty level
Easy (less than an hour)
Version
1.2+
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

bbs2web created this task.Jan 20 2020, 1:15 PM
bbs2web added a project: vyatta-cfg-quagga.
bbs2web changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).

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+.
pasik added a subscriber: pasik.Jan 20 2020, 9:54 PM
syncer changed the task status from Needs testing to Backport candidate.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.