Users Guide

Table Of Contents
OS10(conf-route-map)# exit
OS10(config)# router bgp 10
OS10(conf-router-bgp-10)# neighbor 10.1.1.4
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# route-map bgproutemap in
OS10 configure terminal
OS10(config)# route-map bgproutemap 1
OS10(conf-route-map)# set local-preference 500
OS10(conf-route-map)# exit
OS10(config)# router bgp 64601
OS10(conf-router-bgp-64601)# template bgppg
OS10(conf-router-template)# address-family ipv4 unicast
OS10(conf-router-bgp-template-af)# route-map bgproutemap in
View route-map
OS10(conf-route-map)# do show route-map
route-map bgproutemap, permit, sequence 1
Match clauses:
Set clauses:
local-preference 500
metric 400
origin incomplete
Weight attribute
You can influence the BGP routing based on the weight value. Routes with a higher weight value have preference when multiple
routes to the same destination exist.
1. Assign a weight to the neighbor connection in ROUTER-BGP mode.
neighbor {ip-address}
2. Set a weight value for the route in ROUTER-NEIGHBOR mode (1 to 4294967295, default 0).
weight weight
3. Return to ROUTER-BGP mode.
exit
4. Assign a weight value to the peer-group in ROUTER-BGP mode.
template template name
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.
638
Layer 3