Users Guide

Table Of Contents
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 elds and internal values.
Congure 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, trac is balanced across member links. RTAG7 is a hash algorithm that load balances trac within a trunk group in
a controlled manner. RTAG7 balances trac to more eectively use member links as trac gets more diverse.
RTAG7 generates a hash that consists of two parts:
The rst part generates from packet headers to identify micro-ows in trac. 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:
----------------------------------------------
IPV4 Load Balancing : Enabled
IPV6 Load Balancing : Enabled
MAC Load Balancing : Enabled
TCP-UDP Load Balancing : Enabled
Ingress Port Load Balancing : Disabled
IPV4 FIELDS : source-ip destination-ip protocol vlan-id l4-destination-port l4-source-port
IPV6 FIELDS : source-ip destination-ip protocol vlan-id l4-destination-port l4-source-port
MAC FIELDS : source-mac destination-mac ethertype vlan-id
TCP-UDP FIELDS: l4-destination-port l4-source-port
The second part generates from the static physical conguration such as the ingress and egress port numbers.
To generate load balancing based on any parameters, change the hash eld using the load-balance command. The example shows how
to enable the ingress port to generate load balancing based on the ingress parameter.
OS10(config)# load-balancing ingress-port enable
OS10(config)# do show load-balance
Load-Balancing Configuration For LAG and ECMP:
----------------------------------------------
IPV4 Load Balancing : Enabled
IPV6 Load Balancing : Enabled
MAC Load Balancing : Enabled
TCP-UDP Load Balancing : Enabled
Ingress Port Load Balancing : Enabled
IPV4 FIELDS : source-ip destination-ip protocol vlan-id l4-destination-port l4-source-port
IPV6 FIELDS : source-ip destination-ip protocol vlan-id l4-destination-port l4-source-port
564
Layer 3