16-13
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter16 Understanding and Conf iguring EtherChannel
Configuring EtherChannel
The load-balancing keywords are:
src-mac—Source MAC addresses
src-dst-mac—Destination MAC addresses
src-dst-mac—Source and destination MAC addresses
src-ip—Source IP addresses
src-dst-ip—Destination IP addresses
src-dst-ip—Source and destination IP addresses (Default)
src-port—Source Layer 4 port
src-dst-port—Destination Layer 4 port
src-dst-port—Source and destination Layer 4 port
This example shows how to configure EtherChannel to use source and destination IP addresses:
Switch# configure terminal
Switch(config)# port-channel load-balance dst-mac
Switch(config)# end
Switch(config)#
This example shows how to verify the configuration:
Switch# show etherchannel load-balance
Source XOR Destination IP address
Switch#
Removing an Interface from an EtherChannel
To remove an Ethernet interface from an EtherChannel, perform this task:
This example shows how to remove Fast Ethernet interfaces 5/4 and 5/5 from port-cha nnel 1:
Switch# configure terminal
Switch(config)# interface range fastethernet 5/4 - 5 (Note: Space is mandatory.)
Switch(config-if)# no channel-group 1
Switch(config-if)# end
Step2 Switch(config)# end Exits configuration mode.
Step3 Switch# show etherchannel load-balance Verifies the configuration.
Command Purpose
Command Purpose
Step1 Switch(config)# interface {fastethernet |
gigabitethernet | tengigabitethernet}
slot
/
port
Selects a physical interface to configure.
Step2 Switch(config-if)# no channel-group Removes the interface from the port-channel interface.
Step3 Switch(config-if)# end Exits configuration mode.
Step4 Switch# show running-config interface
{fastethernet | gigabitethernet |
tengigabitethernet}
slot
/
port
Switch# show interface {fastethernet |
gigabitethernet | tengigabitethernet}
slot
/
port
etherchannel
Verifies the configuration.