6-11
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 6 Configuring EtherChannel
Configuring an EtherChannel Using PAgP
Console> (enable) set spantree channelvlancost 856 10
Port(s) 3/47-48 vlan cost are updated to 16.
Channel 856 vlancost is set to 10.
Console> (enable) set spantree portvlancost 3/47 cost 16 1-1005
Port 3/47 VLANs 1025-4094 have path cost 19.
Port 3/47 VLANs 1-1005 have path cost 16.
Port 3/48 VLANs 1-1005 have path cost 16.
Console> (enable)
Configuring EtherChannel Load Balancing
The load-balancing policy (frame distribution) can be based on a MAC address (Layer 2), an IP address
(Layer 3), or a port number (Layer 4). These policies can be activated, respectively, by the mac, ip, and
session keywords. The load balancing can be based solely on the source address (source keyword),
destination address (destination keyword), or both source and destination addresses (both keyword).
If a packet does not belong to a selected category, the next lower level category is considered. If the
hardware cannot support the frame distribution method that is selected, a “Feature not supported” error
message is displayed.
To configure EtherChannel load balancing, perform this task in privileged mode:
Note The set port channel all distribution session command option is supported on Supervisor Engine 2,
Supervisor Engine 720, and Supervisor Engine 32 only.
Note The set port channel all distribution ip-vlan-session command is supported on Supervisor Engine 720
and Supervisor Engine 32 only. Use the command to specify the frame distribution method using the IP
address, VLAN, and Layer 4 traffic.
This example shows how to configure EtherChannel to use MAC source addresses:
Console> (enable) set port channel all distribution mac source
Channel distribution is set to mac source.
Console> (enable)
Displaying EtherChannel Traffic Utilization
To display the traffic utilization on the EtherChannel ports, perform this task:
Task Command
Configure EtherChannel load balancing. set port channel all distribution {ip | mac |
session | ip-vlan-session} [source | destination |
both]
Task Command
Display traffic utilization. show channel traffic