
White Paper
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 28 of 51
In the Cisco Catalyst OS, the channel protocol is configured on a per-module basis. That is, all
channel ports on a module must use the same negotiation protocol. In Cisco IOS Software, the
channel protocol can be configured on a per-port basis.
EtherChannel Load Sharing
Several load-balancing algorithms are available for distributing traffic across the ports in an
EtherChannel group. This is regardless of the whether an EtherChannel group contains Layer 2 or
Layer 3 ports and interfaces. The options are the same in both the Cisco Catalyst OS and Cisco
IOS Software and are shown below.
Cisco Catalyst OS Cisco IOS Software
set port channel all distribution ?
ip Channel distribution ip
mac Channel distribution mac
session Channel distribution session
set port channel all distribution ip ?
source Channel distribution source
destination Channel distribution dest
both Channel distribution both
port-channel load-balance ?
dst-ip Dst IP Addr
dst-mac Dst Mac Addr
dst-port Dst TCP/UDP Port
src-dst-ip Src XOR Dst IP Addr
src-dst-mac Src XOR Dst Mac Addr
src-dst-port Src-Dst TCP/UDP Port
src-ip Src IP Addr
src-mac Src Mac Addr
src-port Src TCP/UDP Port
EtherChannel Types
Cisco IOS Software can handle both Layer 2 and Layer 3 EtherChannel groups. In the context of
Cisco IOS Software, a Layer 2 EtherChannel group includes ports that are configured as switch
ports; a Layer 3 EtherChannel group can include only switchports in combination with SVIs, or it
could include only routed interfaces. The Cisco Catalyst OS has only one type of Layer 3
EtherChannel group because it does not support true routed ports, only SVIs.
Layer 2 EtherChannel Groups
All interfaces are grouped together in a common channel group, and the subsequent interface
port-channel is configured as a switchport. The channel protocol (PAgP or LACP) automatically
creates the Port-Channel 1 interface when the channel-group command is enabled on the
physical interface.
Cisco Catalyst OS Cisco IOS Software
set port channel 3/1—8 1 desirable
set trunk 3/1—8 dot1q
interface range fa3/1—8
no shut
channel-group 1 mode desirable
interface port-channel 1
switchport
switchport trunk encap dot1q
no shut
Note: Defaults to PAgP for negotiation
Layer 3 EtherChannel Groups with SVIs
Layer 3 EtherChannel groups with SVIs are formed like the Layer 2 EtherChannel groups with
the addition of a Layer 3 SVI for routing functionality. This is the method for configuring Layer 3
EtherChannel groups with Layer 2 VLANs providing the transport and SVIs providing the VLAN
termination and routing.
Comentarios a estos manuales