port-channel load-balance
To set the load-distribution method among the ports in the EtherChannel, use the port-channel load-balance
command in global configuration mode. To reset the load-balancing function to the default setting, use the
no form of this command.
port-channel load-balance {dst-ip| dst-mac| src-dst-ip| src-dst-mac| src-ip| src-mac}
no port-channel load-balance
Syntax Description
Specifies load distribution based on the destination host IP address.dst-ip
Specifies load distribution based on the destination host MAC address. Packets to
the same destination are sent on the same port, but packets to different destinations
are sent on different ports in the channel.
dst-mac
Specifies load distribution based on the source and destination host IP address.src-dst-ip
Specifies load distribution based on the source and destination host MAC address.src-dst-mac
Specifies load distribution based on the source host IP address.src-ip
Specifies load distribution based on the source MAC address. Packets from different
hosts use different ports in the channel, but packets from the same host use the same
port.
src-mac
Command Default
The default is src-mac.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS 15.0(2)EX
Usage Guidelines
You can verify your setting by entering the show running-config privileged EXEC command or the show
etherchannel load-balance privileged EXEC command.
Examples
This example shows how to set the load-distribution method to dst-mac:
Switch(config)# port-channel load-balance dst-mac
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
54 OL-29043 -01
Layer 2 Commands
port-channel load-balance