A SERVICE OF

logo

Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Specifies the load-balancing algorithm for the device. The
range depends on the device. The default is
source-dest-mac.
switch(config)# port-channel
load-balance ethernet
{[destination-ip | destination-mac |
Step 2
destination-port | source-dest-ip |
Beginning with Cisco NX-OS Release 5.0(3)N2(1), the
Cisco Nexus 5500 Platform switches support 8 hash
source-dest-mac | source-dest-port |
source-ip | source-mac | source-port]
crc-poly}
polynomials that can be used for compression on the
hash-parameters. Depending on variations in the hash
parameters for egress traffic flows from a port channel,
different polynomials could provide different load
distribution results. The default hash polynomial is CRC8a.
The variable can be configured as follows:
CRC8a
CRC8b
CRC8c
CRC8d
CRC8e
CRC8f
CRC8g
(Optional)
Restores the default load-balancing algorithm of
source-dest-mac.
switch(config)# no port-channel
load-balance ethernet
Step 3
(Optional)
Displays the port-channel load-balancing algorithm.
switch# show port-channel
load-balance
Step 4
This example shows how to configure source IP load balancing for port channels:
switch# configure terminal
switch (config)# port-channel load-balance ethernet source-ip
Before Release 4.0(1a)N1 of Cisco NX-OS, the source-dest-ip, source-dest-mac, and source-dest-port
keywords were source-destination-ip, source-destination-mac, and source-destination-port, respectively.
Note
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
56 78-26881-OL
Configuring Port Channels
Configuring Load Balancing Using Port Channels