Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
2-37
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
port-channel load-balance ethernet
port-channel load-balance ethernet
To set the load-balancing method among the interfaces in the channel-group bundle, use the
port-channel load-balance ethernet command. To return the system priority to the default value, use
the no form of this command.
port-channel load-balance ethernet method
no port-channel load-balance ethernet [method]
Syntax Description
Command Default Loads distribution on the source and destination MAC address.
Command Modes Configuration mode
Command History
Usage Guidelines The valid load-balancing method values are as follows:
destination-ip—Loads distribution on the destination IP address.
destination-mac—Loads distribution on the destination MAC address.
destination-port—Loads distribution on the destination port.
source-destination-ip—Loads distribution on the source and destination IP address.
source-destination-mac—Loads distribution on the source and destination MAC address.
source-destination-port—Loads distribution on the source and destination port.
source-ip—Loads distribution on the source IP address.
source-mac—Loads distribution on the source MAC address.
source-port—Loads distribution on the source port.
Use the option that provides the balance criteria with the greatest variety in your configuration. For
example, if the traffic on a EtherChannel is going only to a single MAC address and you use the
destination MAC address as the basis of EtherChannel load balancing, the EtherChannel always chooses
the same link in that EtherChannel; using source addresses or IP addresses might result in better load
balancing.
Examples This example shows how to set the load-balancing method to use the source IP:
switch(config)# port-channel load-balance ethernet source-ip
method Load-balancing method. See the “Usage Guidelines” section for a list of
valid values.
Release Modification
4.0(0)N1(1a) This command was introduced.