IBM Support

Create Etherchannel

Question & Answer


Question

How do I create an etherchannel for load-balancing?

Answer

First we got to make sure that the adapters we choose are plugged into the same switch and etherchannel is configured on the switch.

Second make sure that there is no ip address configured for those adapters or else it will fail.

Once that is out of the way we can go ahead and create an etherchannel:

Step 1:
smitty etherchannel

Step 2:
You'll see the following screen: select Add An EtherChannel / Link Aggregation



Step 3:
Select the adapters to use in your etherchannel by pressing an F7, then hit enter



Step 4:
Verify this is the setup you want. Here we can change the Mode if you want something different or Hash Mode



Mode options: standard, round-robin, 8023ad



standard: In this mode the EtherChannel uses an algorithm to choose which adapter it will send the packets out on.

round_robin: In this mode the EtherChannel will rotate through the adapters, giving each adapter one packet before repeating. The packets may be sent out in a slightly different order than they were given to the EtherChannel, but it will make the best use of its bandwidth. It is an invalid combination to select this mode with a Hash Mode other than default. If you choose the round-robin mode, leave the Hash Mode value as default

8023ad: This options enables the use of the IEEE 802.3ad Link Aggregation Control Protocol (LACP) for automatic link aggregation

Hash Mode options: default, src_port, dst_port, src_dst_port


default: In this hash mode the destination IP address of the packet will be used to determine the outgoing adapter. For non-IP traffic (such as ARP), the last byte of the destination MAC address is used to do the calculation. This mode will guarantee packets are sent out over the EtherChannel in the order they were received, but it may not make full use of the bandwidth.

src_port: In this hash mode the source UDP or TCP port value of the packet will be used to determine the outgoing adapter. If the packet is not UDP or TCP traffic, the last byte of the destination IP address will be used. If the packet is not IP traffic, the last byte of the destination MAC address will be used.

dst_port: In this hash mode the destination UDP or TCP port value of the packet will be used to determine the outgoing adapter. If the packet is not UDP or TCP traffic, the last byte of the destination IP will be used. If the packet is not IP traffic, the last byte of the destination MAC address will be used.

src_dst_port: In this hash mode both the source and destination UDP or TCP port values of the packet will be used to determine the outgoing adapter (specifically, the source and destination ports are added and then divided by two before being fed into the algorithm). If the packet is not UDP or TCP traffic, the last byte of the destination IP will be used. If the packet is not IP traffic, the last byte of the destination MAC address will be used. This mode can give good packet distribution in most situations, both for clients and servers.

Hit enter when done and it shall create your new etherchannel device.



Now you can configure your new interface for your etherchannel.

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.3","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1011437