BGP Commands
configure bgp local-preference
configure bgp local-preference <number>
Description
Changes the default local preference attribute.
Syntax Description
number
Default
100.
Usage Guidelines
The range is 0 to 2,147,483,647.
BGP selects routes based on the following precedence (from highest to lowest):
higher weight
●
higher local preference
●
shortest length (shortest AS path)
●
lowest origin code
●
lowest MED
●
route from external peer
●
lowest cost to Next Hop
●
lowest routerID
●
Example
The following command changes the default local preference attribute to 500:
configure bgp local-preference 500
History
This command was first available in ExtremeWare XOS 10.1.
This command required an Advanced Core license in ExtremeWare XOS 11.1.
1428
Specifies a value used to advertise this router's degree of preference to other
routers within the AS. Range is 0 to 2147483647.
ExtremeWare XOS 11.3 Command Reference