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.
C-Series, E-Series, S-Series, Z-Series, S4810
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 0 to 65535. The default is
0.
Defaults 0
Command Modes ROUTER BGP
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced on the S-Series.
Version 7.7.1.0 Introduced on the C-Series.
Usage
Information
In the FTOS best path selection process, the path with the highest weight value is preferred.
NOTE: In the FTOS 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.
Related
Commands
set weight – assigns a weight to all paths meeting the route map criteria.
network
Specify the networks for the BGP process and enter them in the BGP routing table.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
network ip-address mask [route-map map-name]
To remove a network, use the no network ip-address mask [route-map map-
name] command.
380