The function of the Local_Pref attribute is similar to that of the preferred value. The priority of the Local_Pref attribute, however, is lower than that of the preferred value.
The Local_Pref attribute is used to determine the optimal route for the traffic that leaves an AS. When a BGP device obtains multiple routes to the same destination address but with different next hops from different IBGP peers, the BGP device prefers route with the largest Local_Pref.
The system view is displayed.
The BGP view is displayed.
The IPv4 unicast address family view is displayed.
The default Local_Pref attribute is set for the local device.
The configuration is committed.