21.1.5 Port sorting when sending frames
When link aggregation is used to send frames, to ensure efficient port use, a port is allocated for each frame to distribute the traffic to ports. Ports are allocated based on the information in the frames.
The following table describes the information used for port allocation.
Forward |
Frame type |
Information used for port allocation |
port-channel load-balance parameter |
||||
---|---|---|---|---|---|---|---|
src-mac |
dst-mac |
src-dst-mac |
src-ip |
src-port |
|||
Layer 3 forwarding |
IP unicast IP broadcast |
Destination MAC address |
- |
OK |
OK |
- |
- |
Source MAC address |
OK |
- |
OK |
- |
- |
||
Reception VLAN |
OK |
OK |
OK |
- |
- |
||
EtherType |
OK |
OK |
OK |
- |
- |
||
Destination IP address |
- |
- |
- |
- |
- |
||
Source IP address |
- |
- |
- |
OK |
OK |
||
Destination TCP/UDP port number |
- |
- |
- |
- |
- |
||
Source TCP/UDP port number |
- |
- |
- |
- |
OK |
||
IP multicast |
Destination IP address |
OK |
OK |
OK |
OK |
OK |
|
Source IP address |
OK |
OK |
OK |
OK |
OK |
||
Receive port number or receive channel group number |
OK |
OK |
OK |
OK |
OK |
||
Layer 2 forwarding |
Frame for which the MAC address has not been learned yet (unicast, broadcast, and multicast frames) |
Destination MAC address |
OK |
OK |
OK |
OK |
OK |
Source MAC address |
OK |
OK |
OK |
OK |
OK |
||
Reception port number or reception channel group number |
OK |
OK |
OK |
OK |
OK |
||
IP frame for which the MAC address has been learned |
Destination MAC address |
- |
OK |
OK |
- |
- |
|
Source MAC address |
OK |
- |
OK |
- |
- |
||
VLAN |
OK |
OK |
OK |
- |
- |
||
EtherType |
OK |
OK |
OK |
- |
- |
||
Destination IP address |
- |
- |
- |
- |
- |
||
Source IP address |
- |
- |
- |
OK |
OK |
||
Destination TCP/UDP port number |
- |
- |
- |
- |
- |
||
Source TCP/UDP port number |
- |
- |
- |
- |
OK |
||
Non-IP frame for which the MAC address has been learned |
Destination MAC address |
- |
OK |
OK |
- |
- |
|
Source MAC address |
OK |
- |
OK |
OK |
OK |
||
VLAN |
OK |
OK |
OK |
OK |
OK |
||
EtherType |
OK |
OK |
OK |
OK |
OK |
Forward |
Frame type |
Information used for port allocation |
port-channel load-balance parameter |
|||
---|---|---|---|---|---|---|
dst-ip |
dst-port |
src-dst-ip |
src-dst-port |
|||
Layer 3 forwarding |
IP unicast IP broadcast |
Destination MAC address |
- |
- |
- |
- |
Source MAC address |
- |
- |
- |
- |
||
Reception VLAN |
- |
- |
- |
- |
||
EtherType |
- |
- |
- |
- |
||
Destination IP address |
OK |
OK |
OK |
OK |
||
Source IP address |
- |
- |
OK |
OK |
||
Destination TCP/UDP port number |
- |
OK |
- |
OK |
||
Source TCP/UDP port number |
- |
- |
- |
OK |
||
IP multicast |
Destination IP address |
OK |
OK |
OK |
OK |
|
Source IP address |
OK |
OK |
OK |
OK |
||
Receive port number or receive channel group number |
OK |
OK |
OK |
OK |
||
Layer 2 forwarding |
Frame for which the MAC address has not been learned yet (unicast, broadcast, and multicast frames) |
Destination MAC address |
OK |
OK |
OK |
OK |
Source MAC address |
OK |
OK |
OK |
OK |
||
Reception port number or reception channel group number |
OK |
OK |
OK |
OK |
||
IP frame for which the MAC address has been learned |
Destination MAC address |
- |
- |
- |
- |
|
Source MAC address |
- |
- |
- |
- |
||
VLAN |
- |
- |
- |
- |
||
EtherType |
- |
- |
- |
- |
||
Destination IP address |
OK |
OK |
OK |
OK |
||
Source IP address |
- |
- |
OK |
OK |
||
Destination TCP/UDP port number |
- |
OK |
- |
OK |
||
Source TCP/UDP port number |
- |
- |
- |
OK |
||
Non-IP frame for which the MAC address has been learned |
Destination MAC address |
OK |
OK |
OK |
OK |
|
Source MAC address |
- |
- |
OK |
OK |
||
VLAN |
OK |
OK |
OK |
OK |
||
EtherType |
OK |
OK |
OK |
OK |
(Legend) OK: Sort by-: Not for sorting
Select an appropriate allocation method according to the traffic on the link aggregation to perform efficient load balancing. For example, if sending IP frames to multiple MAC addresses from a host with a single MAC address, you can allocate sending ports more efficiently by selecting the dst-mac method instead of selecting the src-mac method.
<>Port Allocation in Stack Configuration
For details about port allocation in stack configuration, see 7.6.2 Transfer operations for link aggregation.