The Cisco-proprietary hash algorithm computes a value in the range 0 to 7. With this value as a basis, a particular port in the EtherChannel is chosen. The port setup includes a mask which indicates which values the port accepts for transmission. With the maximum number of ports in a single EtherChannel, which is eight ports, each port accepts only one value. If you have four ports in the EtherChannel, each port accepts two values, and so forth. This table lists the ratios of the values that each port accepts, which depends on the number of ports in the EtherChannel:
Number of Ports in the EtherChannel
Load Balancing
8 port: 1:1:1:1:1:1:1:1
7port: 2:1:1:1:1:1:1
6port: 2:2:1:1:1:1
5port: 2:2:2:1:1
4port 2:2:2:2
3port: 3:3:2
2port: 4:4
Note: This table only lists the number of values, which the hash algorithm calculates, that a particular port accepts. You cannot control the port that a particular flow uses. You can only influence the load balance with a frame distribution method that results in the greatest variety.
Note: The hash algorithm cannot be configured or changed to load balance the traffic among the ports in an EtherChannel.
Hence, in essence, you can only achieve perfect load balancing, even with random addresses, if you have two, four, or eight ports in the port channel.
-----------------------------------------------
Tôi có đọc đoạn trên theo tôi hiểu là nếu port lẻ nó sẽ phân chia tỉ lệ load balancing là 3:3:2
Không hiểu maximum tối đa ghép 3 port 1Gbps sẽ là 1Gbps:1Gbps:0.67Gbps=2.67Gbps. Như vậy đối với port chẵn sẽ chạy gần tối đa băng thông của các port. Còn port lẻ sẽ chạy ko hết băng thông ?
Number of Ports in the EtherChannel
Load Balancing
8 port: 1:1:1:1:1:1:1:1
7port: 2:1:1:1:1:1:1
6port: 2:2:1:1:1:1
5port: 2:2:2:1:1
4port 2:2:2:2
3port: 3:3:2
2port: 4:4
Note: This table only lists the number of values, which the hash algorithm calculates, that a particular port accepts. You cannot control the port that a particular flow uses. You can only influence the load balance with a frame distribution method that results in the greatest variety.
Note: The hash algorithm cannot be configured or changed to load balance the traffic among the ports in an EtherChannel.
Hence, in essence, you can only achieve perfect load balancing, even with random addresses, if you have two, four, or eight ports in the port channel.
-----------------------------------------------
Tôi có đọc đoạn trên theo tôi hiểu là nếu port lẻ nó sẽ phân chia tỉ lệ load balancing là 3:3:2
Không hiểu maximum tối đa ghép 3 port 1Gbps sẽ là 1Gbps:1Gbps:0.67Gbps=2.67Gbps. Như vậy đối với port chẵn sẽ chạy gần tối đa băng thông của các port. Còn port lẻ sẽ chạy ko hết băng thông ?
Comment