Cisco 7206 - VXR Router Configuration Manual page 184

Network configuration guide
Table of Contents

Advertisement

Configuring Port Channels
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
port-channel load-balance { dest-ip-port
| dest-ip-port-vlan |
destination-ip-vlan | destination-mac |
destination-port | source-dest-ip-port |
source-dest-ip-port-vlan |
source-dest-ip-vlan | source-dest-mac |
source-dest-port | source-ip-port |
source-ip-port-vlan | source-ip-vlan |
source-mac | source-port}
[module-number]
Example:
switch(config)# port-channel
load-balance source-destination-mac
switch(config)#
Step 3
show port-channel load-balance
Example:
switch(config-router)# show port-channel
load-balance
Step 4
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Use the no port-channel load-balance to restore the default load-balancing algorithm of
source-dest-mac for non-IP traffic and source-dest-ip for IP traffic.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
6-28
configure terminal
port-channel load-balance {dest-ip-port | dest-ip-port-vlan | destination-ip-vlan |
destination-mac | destination-port | source-dest-ip-port | source-dest-ip-port-vlan |
source-dest-ip-vlan | source-dest-mac | source-dest-port | source-ip-port | source-ip-port-vlan |
source-ip-vlan | source-mac | source-port} [module-number]
show port-channel load-balance
copy running-config startup-config
Chapter 6
Purpose
Enters configuration mode.
Specifies the load-balancing algorithm for the device
or module. The range depends on the device. The
default for Layer 3 is source-dest-ip for both IPv4 and
IPv6, and the default for non-IP is source-dest-mac.
(Optional) Displays the port-channel load-balancing
algorithm.
(Optional) Copies the running configuration to the
startup configuration.
Configuring Port Channels
OL-23435-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents