I currently have to almost identical bgp groups but for various reasons I would like to have a higher localpref on routes received from one group than the other.
I want to use the same import policy on the groups so for that reason I would like to set the local-preference outside of this. When i set localpref via policy-statement, I can see from show route x.x.x.x/y all that it's set according to the rule in the policy-statement. However, when I remove the term setting the local-preference from the policy-statement and include it on the group-level instead, it's not set, show route x.x.x.x/y all shows it's just set to default. When set on group-level, show bgp neighbor shows the correct Localpref. Am I missing something here? This is on a mx80 running 10.4R3.4.#mx80bgplocal-preference