CLI Guide
Usage Information Loopback interfaces are up constantly and the BGP session may need one
interface constantly up to stabilize the session. The neighbor update-source
command is not necessary for directly connected internal BGP sessions.
neighbor weight
Assign a weight to the neighbor connection, which is used to determine the best path.
Syntax
neighbor {ip-address | peer-group-name} weight weight
To remove a weight value, use the no neighbor {ip-address | peer-
group-name} weight command.
Parameters
ip-address Enter the IP address of the peer router in dotted decimal
format.
peer-group-name Enter the name of the peer group to disable all routers
within the peer group.
weight Enter a number as the weight. The range is from 0 to 65535.
The default is 0.
Defaults 0
Command Modes ROUTER BGP
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
In the system best path selection process, the path with the highest weight value is
preferred.
NOTE: In the system best-path selection process, the path with the highest
weight value is preferred.
If you configure the set weight command in a route map applied to this
neighbor, the weight set in that command overrides the weight set in the
neighbor weight command.
Border Gateway Protocol IPv4 (BGPv4)
391