Command Line Reference Guide
neighbor weight
Assign a weight to the neighbor connection, which is used to determine the best path.
S5000
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 9.0(1.3) Introduced on the S5000.
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.
S5000
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.
Parameters
ip-address
Enter an IP address in dotted decimal format of the network.
mask
Enter the mask of the IP address in the slash prefix length format (for
example, /24).
302