The Local_Pref attribute is used to determine the optimal route for outgoing traffic of 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 the route with the highest Local_Pref value.
The system view is displayed.
The BGP view is displayed.
Run ipv4-family { unicast | multicast }
The IPv4 address family view is displayed.
Run ipv6-family [ unicast ]
The IPv6 address family view is displayed.
The default Local_Pref attribute is configured.
By default, the Local_Pref attribute is 100.