I am looking at BGP route manipulation within our global MPLS for several 3rd party connections which are connected at various sites and am looking for some advice about path manipulation.
In my scenario, we have a route injected by a 3rd party in the London Office and then the same route injected into Paris office. Both offices are connected to the MPLS and an office in New York would like to get to that 3rd party network. Each internal site has its own AS number.
I would like to be able to control that users in New York go via London first and then Paris as a backup. I am thinking that a simple Routemap change to import the routes in New York with a higher localpref would be suitable. I was thinking that I could then either locate the site specific route based on the AS number of the originating site, but then looked into communities and am not sure on the best approach.
I was expecting that I could simply match on the London AS number using Regex on the path, along with the targeted subnets and then set the localpref higher. Is this too simple, or would it be better to tag the routes when they are imported at the source and then match on this community value to set the localpref?
Could anyone advise on which one is best to use and which one would be best in this scenario?