Load Balancing Using EtherChannels
Load Balancing Using EtherChannels
Cisco NX-OS load balances traffic across all operational interfaces in an EtherChannel by reducing part of
the binary pattern formed from the addresses in the frame to a numerical value that selects one of the links in
the channel. EtherChannels provide load balancing by default and the basic configuration uses the following
criteria to select the link:
• For a Layer 2 frame, it uses the source and destination MAC addresses.
• For a Layer 3 frame, it uses the source and destination MAC addresses and the source and destination
• For a Layer 4 frame, it uses the source and destination MAC addresses and the source and destination
You can configure the switch to use one of the following methods to load balance across the EtherChannel:
• Destination MAC address
• Source MAC address
• Source and destination MAC address
• Destination IP address
• Source IP address
• Source and destination IP address
• Destination TCP/UDP port number
• Source TCP/UDP port number
• Source and destination TCP/UDP port number
Table 11: EtherChannel Load-Balancing Criteria
Configuration
Destination MAC
Source MAC
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
84
• UDLD
• Shutdown
• SNMP traps
IP addresses.
IP addresses.
Note
You have the option to include the source and destination port number for the Layer 4
frame.
Layer 2 Criteria
Destination MAC
Source MAC
Layer 3 Criteria
Layer 4 Criteria
Destination MAC
Destination MAC
Source MAC
Source MAC
Configuring EtherChannels