hit counter script

Configuring Load Balancing Using Port Channels - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Chapter 1
Configuring Port Channels
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
1. This is called implicit port channel 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 Port Channels

You can configure the load-balancing algorithm for port channels that applies to the entire device.
Enable LACP if you want LACP-based port channels (see the
To configure load balancing using port channels, 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 port channels:
switch# configure terminal
switch (config)# port-channel load-balance ethernet source-ip
To restore the default load-balancing algorithm of source-dest-mac for non-IP traffic and source-dest-ip
for IP traffic, perform this task:
Command
switch(config)# no port-channel
load-balance ethernet
OL-16597-01
Purpose
Removes the port from the channel group. The port
reverts to its original configuration.
"Enabling LACP" section on page
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.
Purpose
Restores the default load-balancing algorithm.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring Port Channels
1-10).
1-9

Advertisement

Table of Contents
loading

Table of Contents