BGP Commands
configure bgp neighbor weight
configure bgp neighbor [<remoteaddr> | all] weight <weight>
Description
Assigns a locally-used weight to a neighbor connection for the route selection algorithm.
Syntax Description
remoteaddr
all
weight
Default
By default, the weight is 0.
Usage Guidelines
All routes learned from this peer are assigned the same weight. The route with the highest weight is
more preferable when multiple routes are available to the same network. The range is 0 to 65,535.
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 assigns a locally used weight of 10 to a neighbor connection:
configure bgp neighbor 192.168.1.5 weight 10
History
This command was first available in ExtremeWare XOS 10.1.
This command required an Advanced Core license in ExtremeWare XOS 11.1.
1452
Specifies an IP address of the BGP neighbor.
Specifies all neighbors.
Specifies a BGP neighbor weight.
ExtremeWare XOS 11.3 Command Reference
Need help?
Do you have a question about the ExtremeWare XOS and is the answer not in the manual?