neighbor weight
Assigns a weight to a neighbor connection. The no version removes a weight assignment. All routes learned from this neighbor will have the assigned weight initially. The route with the highest weight will be chosen as the preferred route when multiple routes are available to a particular network.
The weights assigned with the match as-path and set weight route-map commands override the weights assigned with the neighbor weight and neighbor filter-list commands.
neighbor { ipAddress | ipv6Address | peerGroupName } weight value
no neighbor { ipAddress | ipv6Address | peerGroupName } weight [ value ]
- ipAddressIP address of BGP neighbor
- ipv6AddressIPv6 address of BGP neighbor
- peerGroupNameName of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- valueNumber in the range 065535; the weight to assign
Address Family Configuration, Router Configuration
Command introduced before JUNOSe Release 7.1.0.
ipv6Address variable added in JUNOSe Release 8.0.0.