Lukej2680 Tech Blog

EtherChannel Configuration

This lab walks through the processes of configuring layer2 and layer3 EtherChannels.

Topology pic

The Spanning Tree Protocol is a necessary protocol to prevent layer 2 loops and broadcast storms. However STP does not support load balancing, leaving much of the bandwidth unused in networks like the above where redundant links are configured. To fix this we can use EtherChannel, which bundles the physical links into a single logical interface allowing STP to not block the link. For this lab we will configure the EtherChannel using Link Aggregation Control Protocol (LACP) and a Layer 3 EtherChannel.

In this lab we will be;

  • Configuring a Layer 2 LACP EtherChannel configuration
  • Configuring a Layer 3 EtherChannel configuration

Configuring a Layer 2 LACP EtherChannel configuration:

Acc3

Configure an etherchannel on links Fa0/23-24 and Fa0/21-22
l2_echannel_Acc3

CD1

Configure an etherchannel on links Fa0/23-24
l2_echannel_CD1

CD2

Configure an etherchannel on links Fa0/21-22
l2_echannel_CD2

Using the command show etherchannel summary we can verify that these etherchannels have been correctly configured;

Acc3

Configure an etherchannel on links Fa0/23-24 and Fa0/21-22
l2_verify_Acc3

CD1

Configure an etherchannel on links Fa0/23-24
l2_verify_CD1

CD2

Configure an etherchannel on links Fa0/21-22
l2_verify_CD2

We can also look at the packet tracer file and see how the links were we configured LACP are now load balancing, both being up or both being blocked, while the link from CD1 to Acc4 are not being load balanced, one link is up while the other is being blocked. Same issue on the link from CD1 to CD2.

l2_connections

Configuring a Layer 3 EtherChannel Configuration:
Layer3 etherchannels apply the same logic as layer2 etherchannels. These now bundle the logical layer3 links in order to load balance routing traffic.
This part of the lab uses 3 layer3 switches:
l3_topology

The commands to set up a layer3 etherchannel;

  1. int range <interfaces> :
  2. no switchport : Necessary on a layer3 switch, converts the switchport into a ‘router interface’
  3. channel-group <#> mode active : Create the channel-group (referenced by #) and set mode to active (activates LACP)
  4. interface port-channel <#> : Enter config for your previously set port-channel
  5. ip address <ip> <subnet> : Configure the port channel’s IP address and subnet mask
  6. no shut : Bring the link up

The other end of the link needs to match the LACP configuration in order to work correctly.

Switch 1

l3_echannel_SW1

Switch 2

l3_echannel_SW2

Switch 3

l3_echannel_SW3

Once again we use show etherchannel summary in order to view our configured etherchannels.
This time you’ll notice the Port-channel has the (RU) characters appended instead of (SU). This verifies that we created layer3 etherchannels and not layer2.

Switch 1

l3_verify_SW1

Switch 2

l3_verify_SW2

Switch 3

l3_verify_SW3

This lab is a lab taken from Neil Andersons CCNA Udemy course. All work is mine however the lab itself is not my property.
All Labs were done using Cisco Packet Tracer.