Specifications

configure bgp neighbor weight
ExtremeWare XOS 10.1 Command Reference Guide 617
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
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
remoteaddr Specifies an IP address of the BGP neighbor.
all Specifies all neighbors.
weight Specifies a BGP neighbor weight.