Reference Guide
Border Gateway Protocol IPv4 (BGPv4) | 211
Change WEIGHT attribute
Use the following command in CONFIGURATION ROUTER BGP mode to change the how the WEIGHT
attribute is used.
Use the
show config command in CONFIGURATION ROUTER BGP mode or the show running-config
bgp
command in EXEC Privilege mode to view BGP configuration.
You can also use route maps to change this and other BGP attributes. For example, you can include the
following command in a route map to specify the next hop address:
Enable multipath
By default, the software allows one path to a destination. You can enable multipath to allow up to 16
parallel paths to a destination.
Use the following command in the CONFIGURATION ROUTER BGP mode to allow more than one path.
The
show ip bgp network command includes multipath information for that network.
Filter BGP routes
Filtering routes allows you to implement BGP policies. You can use either IP prefix lists, route maps,
AS-PATH ACLs or IP Community lists (via a route map) to control which routes are accepted and
advertised by the BGP neighbor or peer group. Prefix lists filter routes based on route and prefix length,
while AS-Path ACLs filter routes based on the Autonomous System number. Route maps can filter and set
conditions, change attributes, and assign update policies.
Command Syntax Command Mode Purpose
neighbor {ip-address |
peer-group-name} weight weight
CONFIG-ROUTER-
BGP
Assign a weight to the neighbor connection.
•
weight range: 0 to 65535
• Default is 0
Command Syntax Command Mode Purpose
set weight weight CONFIG-ROUTE-MAP Sets weight for the route.
• weight range: 0 to 65535
Command Syntax Command Mode Purpose
maximum-paths {ebgp | ibgp}
number
CONFIG-ROUTER-
BGP
Enable multiple parallel paths.
• number range: 1 to 16
• Default is 1
Note: FTOS supports up to 255 characters in a set community statement inside a route map.










