The Local_Pref attribute is used to determine the optimal route for traffic that leaves an AS.
The Local_Pref attribute is used to determine the optimal route for traffic that leaves an AS. If a BGP device obtains multiple routes from different IBGP peers and these routes have different next hops to the same destination, the BGP device will select the route with the greatest Local_Pref value.
bgp { as-number-plain | as-number-dot }
default local-preference preference