Professional Documents
Culture Documents
Port Aggregation (Etherchannel)
Port Aggregation (Etherchannel)
Etherchannel Bundle
3
EtherChannel
6
Load Balancing
8
Load Balancing
0
1
10
Load Balancing
0
For information about load balancing the number of links other than
2, 4 or 8:
Understanding EtherChannel Load Balancing and
Redundancy on Catalyst Switches
http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech
_note09186a0080094714.shtml
13
Configuring EtherChannel
Configuring EtherChannel Load Balancing
Switch(config)# port-channel load-balance method
15
Load Balancing
Switch(config)# port-channel load-balance ?
dst-ip Dst IP Addr bits Hash
dst-mac Dst Mac Addr bits Operation
src-dst-ip Src XOR Dst IP Addr XOR
src-dst-mac Src XOR Dst Mac Addr XOR default
src-ip Src IP Addr bits
src-mac Src Mac Addr bits
6500 and 4500 switches also allow hash input to be based on:
dst-port (destination port)
src-dst-port (source and destination ports)
Dafaults for 29xx and 35xx (this may vary so check documentation)
Layer 2 switching (switched port) is src-mac
Layer 3 switching (routed port) is src-dst-ip
For non-IP traffic the switch will distribute frames based on MAC
addresses.
Multicasts and broadcasts sent over one link in the EtherChannel are not
16
sent back over other links in the EtherChannel.
Switch(config)# port-channel load-balance ?
dst-ip Dst IP Addr bits
dst-mac Dst Mac Addr bits
Load Balancing src-dst-ip Src XOR Dst IP Addr
src-dst-mac Src XOR Dst Mac Addr
XOR
XOR
src-ip Src IP Addr bits
src-mac Src Mac Addr bits
PAgP
LACP PAgP
LACP
18
EtherChannel Protocols
Fa0/1
Fa0/4
19
EtherChannel Protocols
Fa0/1 Channel Group
Fa0/4
Channel-group number: 1 – 64
Does not need to be the same on both switches but its
recommended that it usually is.
20
No PAgP or LACP negotiation
EtherChannel
on on
22
PAgP modes
EtherChannel
auto desirable
By default PAgP uses the silent submode for desirable and auto.
If you expect a switch to be on the other end you should use non-silent.
“Use the non-silent keyword when you connect to a device that transmits bridge protocol data units
(BPDUs) or other traffic.”
“Use the silent keyword when you connect to a silent partner (which is a device that does not generate
BPDUs or other traffic).”
Either will work between switches.
For more information on when to use silent or non-silent:
24
http://www.cisco.com/en/US/tech/tk389/tk213/technologies_configuration_example09186a0080094953.
LACP modes
EtherChannel
active
active
passive
25
LACP modes
EtherChannel
passive active
on on
auto
passive
27
Configuring PAgP
DLS1(config)# port-channel load-balance dst-ip
DLS1(config)# interface range fa 0/11 - 12
DLS1(config-if-range)# switchport trunk encapsulation dot1q
DLS1(config-if-range)# switchport mode trunk
DLS1(config-if-range)# channel-protocol pagp
DLS1(config-if-range)# channel-group 1 mode desirable
Notice:
Load balancing does not have to match but usually it does.
DTP on DLS2 is dyanmic auto (result is trunk with DLS1)
PAgP configured on both ends
28
DLS1# show etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
29
Port Aggregation (EtherChannel)