API Guide

Command Mode ROUTER-BGP
Usage
Information
This mode allows you to apply BGP configurations to nondefault VRFs.
Example
OS10(config)#router bgp 100
OS10(config-router-bgp-100)#
OS10(config-router-bgp-100)#vrf vrf_test1
OS10(config-router-bgp-100-vrf)#
Supported
Releases
10.3.0E or later
weight
Assigns a default weight for routes from the neighbor interfaces.
Syntax
weight number
Parameters numberEnter a number as the weight for routes, from 1 to 4294967295.
Default 0
Command Mode ROUTER-BGP-NEIGHBOR
Usage
Information
The path with the highest weight value is preferred in the best-path selection process. The no version of
this command resets the value to the default.
Example
OS10(conf-router-bgp-neighbor)# weight 4096
Supported
Releases
10.3.0E or later
Equal cost multi-path
ECMP is a routing technique where next-hop packet forwarding to a single destination occurs over multiple best paths. When
you enable ECMP, OS10 uses a hash algorithm to determine the next-hop. The hash algorithm makes hashing decisions based on
values in various packet fields and internal values.
Configure the hash algorithm in CONFIGURATION mode.
hash-algorithm ecmp {crc | crc16cc | crc32LSB | crc32MSB | xor | xor1 | xor2 | xor4 |
xor8 | random}
Change hash algorithm
OS10(config)# hash-algorithm ecmp crc
Load balancing
To increase bandwidth, traffic is balanced across member links. RTAG7 is a hash algorithm that load balances traffic within a
trunk group in a controlled manner. RTAG7 balances traffic to more effectively use member links as traffic gets more diverse.
RTAG7 generates a hash that consists of two parts:
The first part generates from packet headers to identify micro-flows in traffic. By default, all listed parameters are enabled
for load balancing except the ingress port.
OS10# show load-balance
Load-Balancing Configuration For LAG and ECMP:
----------------------------------------------
Layer 3
651