Configuring Load Balancing Using Port Channels - Cisco Nexus 3548 Configuration Manual

Nx-os interfaces release 9x
Hide thumbs Also See for Nexus 3548:
Table of Contents

Configuring Load Balancing Using Port Channels

Command or Action
Step 4
(Optional) switch(config-if)# switchport trunk {allowed
vlan vlan-id | native vlan vlan-id}
Step 5
switch(config-if)# channel-group channel-number
Step 6
(Optional) switch(config-if)# no channel-group
Example
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.
Note
If you want LACP-based port channels, you need to enable LACP.
Note
For load-balancing FC traffic across SAN PO members in Nexus 5672UP-16G switch, the port-channel
load-balance ethernet command is not needed. The load-balancing happens by default.
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 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
48
Purpose
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. This is called
implicit port channel creation.
Removes the port from the channel group. The port reverts
to its original configuration.
Purpose
Enters global configuration mode.
Configuring Port Channels
Table of Contents
loading

Table of Contents