Hi all, In a MPLS network can you inject two 'default-originate' one from site A (primary site) and the other with higher metric from sie B (back up site)?
router bgp 65001
neighbor 172.16.11.1 remote-as 111 (MPLS service provider)
neighbor 172.16.11.1 next-hop-self
neighbor 172.16.1.1 default-originate route-map Metric CHANGE
route-map Metric CHANGE permit 10
set metric 200
San, in your case since there are 2 different AS's, the SP will have to enable "bgp always compare med" for the metric to be compared for routes with different first AS's, which is not really a good idea and he wont agree to do so as well.
So you will have to go with the AS path prepend or configure same AS on both sides ( this will again require intervention from the service provider to allow and override same AS routes for routes exchange between both primary and secondary sites)
So without intervention from the SP and to have your own control, you would have to go with the AS Path prepending in your particular case.