Connectivity Guide

Table Of Contents
For packets without an L3 header, OS10 automatically uses the load-balancing mac—selection destination-mac command
for hash algorithms by default.
When you congure an IP and MAC hashing scheme at the same time, the MAC hashing scheme takes precedence over the IP hashing
scheme.
Select one or more methods of load balancing and replace the default IP 4-tuple method of balancing trac over a port-channel in
CONFIGURATION mode.
OS10(config)# load-balancing
ingress-port Ingress port configurations
tcp-udp-selection TCP-UDP port for load-balancing configurations
ip-selection IPV4 load-balancing configurations
ipv6-selection IPV6 load-balancing configurations
mac-selection MAC load-balancing configurations
ingress-port [enable] — Enables the ingress port conguration. This option is not supported on S5148F-ON.
tcp-upd-selection [l4–destination-port | l4–source-port] — Uses the Layer 4 destination IP address or
Layer 4 source IP address in the hash calculation. This option is not supported on the S5148F-ON switch.
ip-selection [destination-ip | source-ip | protocol | vlan-id | l4–destination-port | l4–
source-port] — Uses the destination IP address, source IP address, protocol, VLAN ID, Layer 4 destination IP address or Layer
4 source IP address in the hash calculation.
ipv6-selection [destination-ip | source-ip | protocol | vlan-id | l4–destination-port | l4–
source-port] — Uses the destination IPv6 address, source IPv6 address, protocol, VLAN ID, Layer 4 destination IPv6 address
or Layer 4 source IPv6 address in the hash calculation.
mac—selection [destination-mac | source-mac] [ethertype | vlan-id] — Uses the destination MAC
address or source MAC address, and ethertype, or VLAN ID in the hash calculation.
Congure load balancing
OS10(config)# load-balancing ip-selection destination-ip source-ip
Change hash algorithm
The load-balancing command selects the hash criteria applied to trac load balancing on port-channels. If you do not obtain even
trac distribution, use the
hash-algorithm command to select the hash scheme for LAG. Rotate or shift the L2-bit LAG hash until you
achieve the desired trac distribution.
Change the default (0) to another algorithm and apply it to LAG hashing in CONFIGURATION mode.
hash-algorithm lag crc
Change hash algorithm
OS10(config)# hash-algorithm lag crc
Congure interface ranges
Bulk interface conguration allows you to apply the same conguration to multiple physical or logical interfaces, or to display their current
conguration. An interface range is a set of interfaces that you apply the same command to.
You can use interface ranges for:
Ethernet physical interfaces
Port channels
VLAN interfaces
A bulk conguration includes any non-existing interfaces in an interface range from the conguration.
Interfaces
93