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.