API Guide

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.
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
Layer 3
597