What is EtherChannel?
EtherChannel technology is another way for you to increase the bandwidth of your core network links and provide redundancy of LAN links. It allows you to achieve greater speed by bundling Fast Ethernet or Gigabit Ethernet links, which makes a switch or router use the merged ports as a single port. This gives you the most bang for your buck from your port cost. EtherChannel uses a Cisco-proprietary hashing algorithm to achieve this link-bonding.
EtherChannel can be configured on many different switch platforms such as the 6500/6000, 5500/5000, 4500/4000, and 2950/2960 series. The example here is how to configure EtherChannel on the 2950/2960 line of switches because those are some of the most deployed and well-known platforms.
There are a few basic things that you should know about EtherChannel:
- All interfaces using EtherChannel must be set up with the same speeds and duplex modes.
- Specifically for the Catalyst 2950 switches, the EtherChannels are limited to six with eight ports per EtherChannel, and all must have the same speed and be configured on Layer 2 interfaces.
- While it might seem obvious, don’t forget that the interfaces must be enabled. If not, the switch thinks that there is a problem and will use another interface path unnecessarily.
- As you probably remember, the Datalink layer (Layer 2 of the OSI model) has a Frame Check Sequence (FCS) that adds a preamble (a series of alternating 0’s and 1’s) along with other information, to the front of a data packet and inserts it into the destination and source address. EtherChannel balances the traffic on your network by reducing part of the binary pattern formed from the addresses in the frame, which is in the Network layer (Layer 2 – DataLink layer), to a numerical value. And since your Fast Ethernet links are now combined into one channel, it allows for redundancy, in case one of the links go down.
Benefits of using EtherChannel
- Increased Bandwidth: Use EtherChannel and combine two or four links into one logical link. It will double or quadruple your bandwidth. For example, four 100Mb Fast Ethernet connections bonded into one could provide you up to 800Mb/second, full duplex.
- Provides Redundancy: Since there are many Ethernet links combined into one logical channel, it automatically allows more available links in case one or more links go down.
- Load Balance Traffic: EtherChannel balances the traffic load across the links thereby increasing efficiency on your networks.
How do you configure EtherChannel?
To configure EtherChannel, you must also understand a little behind the scenes of Port Aggregation Protocol (PAgP). This protocol assists the auto-creation of EtherChannels, learning the similarities and capabilities of each of your interfaces before grouping them together into a logical link. This is a great efficiency for your network.
There are options for PAgP, like auto, or desirable which unconditionally enables PAgP.
Let’s look at how you would configure EtherChannel on a Gigabit Ethernet interface 0/1 and 0/2 with PAgP mode desirable.
Cell_Switch1(config)# interface range gigabit ethernet0/1 -2
Cell_Switch1(config-if# channel group 5 mode desirable
Of course, you would always want to see the results of your configuration. The following command shows you the EtherChannel information in a brief, detailed, and one-line summary form.
Cell_Switch1# show etherchannel [channel-group-number]{brief | detail | load balance | port | port-channel | summary}
To learn more about EtherChannel, please see the official Cisco documentation: Understanding EtherChannel Load Balancing and Redundancy on Catalyst Switches and the Cisco 2950 Switch Configuration Guide – Configuring Switch Ports.
We hope that helps explain Etherchannel.