The Local_Pref attribute is used to determine the optimal route for the traffic that leaves an AS. When a BGP4+ router obtains multiple routes to the same destination address but with different next hops from different IBGP peers, the route with the largest Local_Pref value is selected.
bgp { as-number-plain | as-number-dot }
ipv6-family unicast
default local-preference preference