Command Reference Guide
Port-Channel/LAG (802.3ad) Commands
CLI Command Reference
September 2014 Page 381
HP Moonshot Switch Module CLI Command Reference
port-channel load-balance
This command selects the load-balancing option used on a port-channel (LAG). Traffic is balanced on a port-
channel (LAG) by selecting one of the links in the channel over which to transmit specific packets. The link is
selected by creating a binary pattern from selected fields in a packet, and associating that pattern with a
particular link.
Load-balancing is not supported on every device. The range of options for load-balancing may vary per device.
The
unit/slot/port parameter configures a LAG interface, and the all parameter configures all LAGs.
no port-channel load-balance
This command reverts to the default load balancing configuration.
Default 3
Format
port-channel load-balance {1 | 2 | 3 | 4 | 5 | 6 | 7} {unit/slot/port | all}
Mode Global Config
Term Definition
1 Source MAC, VLAN, EtherType, and incoming port associated with the packet
2 Destination MAC, VLAN, EtherType, and incoming port associated with the packet
3 Source/Destination MAC, VLAN, EtherType, and incoming port associated with the
packet
4 Source IP and Source TCP/UDP fields of the packet
5 Destination IP and Destination TCP/UDP Port fields of the packet
6 Source/Destination IP and source/destination TCP/UDP Port fields of the packet
7 Enhanced hashing mode
unit/slot/port| all The interface is a logical unit/slot/port number of a configured port-channel.
all applies
the command to all currently configured port-channels.
Format
no port-channel load-balance {unit/slot/port | all}
Mode Global Config
Term Definition
unit/slot/
port
| all
Global Config Mode only: The interface is a logical unit/slot/port number of a configured
port-channel. All applies the command to all currently configured port-channels.