Command Reference Guide

Border Gateway Protocol IPv4 (BGPv4) | 345
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.
Command
History
neighbor weight
c e s
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
Defaults
0
Command Modes
ROUTER BGP
Usage
Information
In the FTOS best path selection process, the path with the highest weight value is preferred.
If the set weight command is configured in a route map applied to this neighbor, the weight
set in that command overrides the weight set in the neighbor weight command.
Related
Commands
Command
History
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
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.
Range: 0 to 65535
Default: 0
Note: Reset the neighbor connection (clear ip bgp * command) to apply the weight to
the connection and recompute the best path.
set weight Assign a weight to all paths meeting the route map criteria.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series