30-11
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 30 Configuring EtherChannels
Configuring EtherChannels
To remove a port from the EtherChannel group, use the no channel-group interface configuration
command. If you delete the EtherChannel by using the no interface port-channel global configuration
command without removing the physical interfaces, the physical interfaces are shutdown. If you do not
want the member physical interfaces to shut down, remove the physical interfaces before deleting the
EtherChannel.
This example shows how to assign a range of interfaces as static-access ports in VLAN 10 to channel 5
with the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range fasttethernet0/1 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode desirable
Switch(config-if-range)# end
Configuring EtherChannel Load Balancing
This section describes how to configure EtherChannel load balancing by using source-based or
destination-based forwarding methods. For more information, see the “Understanding Load Balancing
and Forwarding Methods” section on page 30-6.
Beginning in privileged EXEC mode, follow these steps to configure EtherChannel load balancing:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 port-channel load-balance method Configure an EtherChannel load-balancing method value:
src-mac—Load distribution using the source-MAC address.
Packets to the same destination are sent on the same port, but
packets to different destinations might be send on different
ports in the channel.
dst-mac—Load distribution using the destination-MAC
address. Packets from different hosts use different ports in
the channel, but packets from the same host use the same
port in the channel.
The default is src-mac.
If the link partner to the switch is a physical learner, use one of
these load-distribution methods:
If the channel-group interface configuration command is
set to auto or desirable, the switch automatically uses the
load distribution method based on the source-MAC address,
regardless of the configured load-distribution method.
If the channel-group interface configuration command is
set to on, set the load-distribution method based on the
source-MAC address by using the port-channel
load-balance src-mac global configuration command.
Step 3 end Return to privileged EXEC mode.