Configuring Load Balancing Using Port Channels - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 11
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
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 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.
If you want LACP-based port channels, you need to enable LACP (see the
Note
page
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
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 port channel associated with this
channel group if the port channel does not already 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 Port Channels
"Enabling LACP" section on
11-9
1
.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents