neighbor weight

Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } weight value

no neighbor { ipAddress | ipv6Address | peerGroupName } weight [ value ]

Release Information

Command introduced before JunosE Release 7.1.0.
ipv6Address variable added in JunosE Release 8.0.0.

Description

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.

Options

Mode

Address Family Configuration, Router Configuration