Setting the BGP4+ preference can affect route selection between BGP4+ and another routing protocol.
There are three BGP4+ routes:
External BGP (EBGP) routes
Internal BGP (IBGP) routes
Routes generated locally
You can set different priorities for the routes.
In addition, you can configure the priority of the routes that match specific conditions by applying the routing policy. Routes that do not match the conditions use the default priority.
bgp { as-number-plain | as-number-dot }
ipv6-family unicast
preference { external internal local | route-policy route-policy-name }