Users Guide

Table Of Contents
5. Set a weight value for the route in ROUTER-TEMPLATE mode.
weight weight
Modify weight attribute
OS10(config)# router bgp 10
OS10(config-router-bgp-10)# neighbor 10.1.1.4
OS10(config-router-neighbor)# weight 400
OS10(config-router-neighbor)# exit
OS10(config-router-bgp-10)# template zanzibar
OS10(config-router-template)# weight 200
Enable multipath
You can have one path to a destination by default, and enable multipath to allow up to 64 parallel paths to a destination. The
show ip bgp network command includes multipath information for that network.
Configure the number of ECMP groups in CONFIGURATION.
ip ecmp-group maximum-paths number
Enable multiple parallel paths in ROUTER-BGP mode.
maximum-paths {ebgp | ibgp} number
Enable multipath
OS10(config)# ip ecmp-group maximum-paths 12
OS10(config)# router bgp 10
OS10(conf-router-bgp-10)# maximum-paths ebgp 10
Route-map filters
Filtering routes allows you to implement BGP policies. Use route-maps to control which routes the BGP neighbor or peer group
accepts and advertises.
1. Enter the neighbor IP address to filter routes in ROUTER-BGP mode.
neighbor ipv4-address
2. Enter Address Family mode in ROUTER-NEIGHBOR mode.
address-family {[ipv4 | ipv6] [unicast]}
3. Create a route-map and assign a filtering criteria in ROUTER-BGP-NEIGHBOR-AF mode, then return to CONFIG-ROUTER-
BGP mode.
route-map map-name {in | out}
exit
inEnter a filter for incoming routing updates.
outEnter a filter for outgoing routing updates.
4. Enter a peer template name in ROUTER-BGP mode.
template template-name
5. Enter Address Family mode.
address-family {[ipv4 | ipv6] [unicast]}
6. Create a route-map, and assign a filtering criteria in ROUTER-BGP-TEMPLATE-AF mode.
route-map map-name {in | out}
Layer 3
595