PurposeCommand or Action
(Optional)
Displays interface information for the specified port channel.
switch(config-if)# show interface
port-channel channel-number
Step 4
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
switch(config-if)# copy
running-config startup-config
Step 5
This example shows how to add a description to port channel 2:
switch# configure terminal
switch(config)# interface port-channel 2
switch(config-if)# description engineering
Configuring Port Channel Load Balancing
You can configure port channel load balancing.
Before You Begin
•
Log in to the CLI in EXEC mode.
•
Configure port channel load balancing for the entire device or for a single module.
•
Know that module-based load balancing takes precedence over device-based load balancing.
•
Know that the default load balancing method is the source MAC address.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Configures the load balance method for the
device or module. The range depends on the
device.
switch(config)# port-channel load-balance
ethernet {dest-ip-port | dest-ip-port-vlan |
destination-ip-vlan | destination-mac |
Step 2
destination-port | source-dest-ip-port |
The default load balancing method uses the
source MAC address.
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 |
source-virtual-port-id | vlan-only }
(Optional)
Displays the port channel load-balancing
method.
switch(config)# show interface port-channel load
balance
Step 3
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
76
Configuring Port Channels
Configuring Port Channel Load Balancing