Reference Guide
– 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.
Congure 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 load balancing of trac on port-channels. If you do not obtain even
trac distribution, use the hash-algorithm command to select the hash scheme for LAG. Rotate or shift the L2-bit LAG hash until the
desired trac distribution is achieved.
• Change the default (0) to another algorithm and apply it to LAG hashing in CONFIGURATION mode.
hash-algorithm lag {crc | xor | random}
Change hash algorithm
OS10(config)# hash-algorithm lag crc
Congure interface ranges
Bulk interface conguration allows you to apply the same conguration to multiple physical or logical interfaces, or to display their current
conguration. 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 conguration includes any non-existing interfaces in an interface range from the conguration.
You can congure a default VLAN only if the interface range being congured consists of only VLAN ports. When a conguration in one of
the VLAN ports fails, all the VLAN ports in the interface range are aected.
Create an interface range allowing other commands to be applied to that interface range using the interface range command.
Congure range of Ethernet addresses and enable them
OS10(config)# interface range ethernet 1/1/1-1/1/5
OS10(conf-range-eth1/1/1-1/1/5)# no shutdown
View the conguration
OS10(conf-range-eth1/1/1-1/1/5)# show configuration
!
interface ethernet1/1/1
no shutdown
switchport access vlan 1
!
interface ethernet1/1/2
no shutdown
switchport access vlan 1
!
interface ethernet1/1/3
no shutdown
80
Interfaces