David Davis explains how to configure EtherChannel to increase your bandwidth and provide redundancy on a Cisco network.
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.
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:
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.
Let’s look at a sample of a typical EtherChannel configuration using load distribution and forwarding methods.
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}
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!