Configuring Load Balancing Using Port Channels
Command or Action
Step 5
switch(config-if)# channel-group
channel-number
Step 6
switch(config-if)# no channel-group
This example shows how to add an Ethernet interface 1/4 to channel group 1:
switch# configure terminal
switch (config)# interface ethernet 1/4
switch(config-if)# switchport mode trunk
switch(config-if)# channel-group 1
Related Topics
Enabling LACP, on page 66
Configuring Load Balancing Using Port Channels
You can configure the load-balancing algorithm for port channels that applies to the entire device.
If you want LACP-based port channels, you need to enable LACP.
Note
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# port-channel load-balance ethernet {[destination-ip | destination-mac | destination-port
| source-dest-ip | source-dest-mac | source-dest-port | source-ip | source-mac | source-port] crc-poly}
3. (Optional) switch(config)# no port-channel load-balance ethernet
4. (Optional) switch# show port-channel load-balance
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
64
Purpose
Configures the port in a channel group and sets the mode. The
channel-number range is from 1 to 4096. Cisco NX-OS creates the
EtherChannel associated with this channel group if the EtherChannel
does not already exist. This is called implicit EtherChannel creation.
(Optional)
Removes the port from the channel group. The port reverts to its
original configuration.
Purpose
Enters configuration mode.
Configuring EtherChannels