In my previous article on the Virtual Router Redundancy Protocol (VRRP), I wrote that VRRP is a very efficient way of load balancing and achieving redundancy on routers. EtherChannel technology is another way for you to increase the bandwidth of your core network links and provide redundancy of LAN links.

What is EtherChannel?

EtherChannel 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. In this article, I’m going to focus on 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 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 goes down.

How do you configure EtherChannel?

Let’s look at a sample of a typical EtherChannel configuration using load distribution and forwarding methods.

Figure A

Graphic Courtesy of Cisco Systems

As you can see in Figure A, there are switched links on the 10/100 Ethernet interfaces combined into one EtherChannel for the Cisco 2950 switch. 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.

switch1(config)# interface range gigabit ethernet0/1 -2
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.

Switch1# show etherchannel [channel-group-number]{brief | detail | load balance | port | port-channel | summary}

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.

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 the Switch Ports.

David Davis has worked in the IT industry for 15+ years and holds several certifications, including CCIE, CCNA, CCNP, MCSE, CISSP, VCP. He has authored hundreds of articles and numerous IT training videos. Today, David is the Director of Infrastructure at Train Signal.com. Train Signal, Inc. is the global leader in video training for IT professionals and end users.

Want to learn more about router and switch management? Automatically sign up for our free Cisco Routers and Switches newsletter, delivered each Friday!

Subscribe to the Developer Insider Newsletter

From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays

Subscribe to the Developer Insider Newsletter

From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays