Configuring Load Balancing Using Etherchannels - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 11
Configuring EtherChannels
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 4
switch(config-if)# switchport trunk
{allowed vlan vlan-id | native vlan
vlan-id}
Step 5
switch(config-if)# channel-group
channel-number
1. This is called implicit EtherChannel creation.
To remove the port from the channel group, perform this task:
Command
switch(config)# 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

Configuring Load Balancing Using EtherChannels

You can configure the load-balancing algorithm for EtherChannels that applies to the entire device.
If you want LACP-based EtherChannels, you need to enable LACP (see the
Note
on page
To configure load balancing using EtherChannels, perform this task:
Command
Step 1
switch# configure terminal
Step 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}
Step 3
switch(config-router)# show
port-channel load-balance
This example shows how to configure source IP load balancing for EtherChannels:
OL-16597-01
11-10).
Purpose
(Optional) Configures necessary parameters for a trunk
port.
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
1
exist
.
Purpose
Removes the port from the channel group. The port
reverts to its original configuration.
Purpose
Enters configuration mode.
Specifies the load-balancing algorithm for the device.
The range depends on the device. The default is
source-dest-mac.
(Optional) Displays the port-channel load-balancing
algorithm.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring EtherChannels
"Enabling LACP" section
11-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents