Ether-Channel

EtherChannel is a technology used in networking, specifically in Ethernet-based LANs, to combine multiple physical Ethernet links between switches, routers, or servers into a single logical link. The goal of EtherChannel is to increase bandwidth, provide load balancing, and offer redundancy in case of a link failure.

Key Benefits of EtherChannel:

  1. Increased Bandwidth: By bundling multiple physical links, EtherChannel increases the total available bandwidth between devices. For example, if two 1 Gbps links are aggregated, the total bandwidth would be 2 Gbps.
  2. Redundancy: If one physical link in the EtherChannel bundle fails, traffic is automatically rerouted over the remaining active links, providing fault tolerance.
  3. Load Balancing: EtherChannel can distribute traffic across the links in the bundle using algorithms based on different parameters like source and destination MAC addresses, IP addresses, or Layer 4 information (like TCP/UDP ports).
  4. Simplified Management: Instead of configuring each physical link separately, EtherChannel allows administrators to configure a single logical interface.

Types of EtherChannel:

EtherChannel can operate in different modes, and the type is defined by the protocol or method used to establish and manage the aggregation. The two main types of EtherChannel protocols are:

  1. Static (PAgP/Manual Mode):

    • Static Mode (also known as “On” mode): This is the most basic form of EtherChannel, where links are manually bundled together without the use of a protocol. No negotiation occurs between the devices. It is simple but less flexible and lacks automatic error handling or negotiation.

    • Configuration:

      interface range gigabitEthernet 0/1 – 2
      channel-group 1 mode on
  2. Dynamic (using PAgP or LACP):

    • PAgP (Port Aggregation Protocol): This Cisco-proprietary protocol automatically negotiates the EtherChannel between two switches. It works by sending PAgP packets to negotiate and establish the EtherChannel if both devices support it. There are two modes for PAgP:
      • Desirable: Actively tries to form an EtherChannel.
      • Auto: Responds to a PAgP “Desirable” mode request but does not initiate the negotiation.
    • LACP (Link Aggregation Control Protocol): A standardized (IEEE 802.3ad) protocol that is similar to PAgP but works on devices from multiple vendors. Like PAgP, LACP negotiates the EtherChannel by sending LACP packets between devices. There are two modes for LACP:
      • Active: Actively attempts to negotiate and form an EtherChannel.
      • Passive: Responds to LACP requests but does not initiate them.

Example Configurations for Each EtherChannel Type:

  1. Static Mode (On):

    interface range GigabitEthernet 0/1 – 2
    channel-group 1 mode on
  2. PAgP (Desirable/Auto):

    • On the switch initiating the EtherChannel:
      go
       
      interface range GigabitEthernet 0/1 – 2
      channel-group 1 mode desirable
    • On the switch receiving the request: interface range GigabitEthernet 0/1 – 2
      channel-group 1 mode auto
       

 3. LACP (Active/Passive):
    • On the switch initiating the EtherChannel:
      go
       
      interface range GigabitEthernet 0/1 – 2 channel-group 1 mode active
       
    • On the switch receiving the request:
      go 
       
      interface range GigabitEthernet 0/1 – 2 channel-group 1 mode passive

 

Summary of EtherChannel Types:

  • On: No negotiation, manual configuration (least flexibility, simple but static).
  • PAgP: Cisco-proprietary, uses the Desirable or Auto modes to negotiate.
  • LACP: Industry-standard (IEEE 802.3ad), uses the Active or Passive modes to negotiate.

In practice, LACP is often preferred for compatibility with multi-vendor environments, while PAgP is more common in Cisco-only networks.

Cisco Protocol PAGP 

Switch 1 Configuration

config t
int range fa0/1-2
channel-group 1 mode desirable

 

Switch 2 Configuration

config t
int range fa0/1-2
channel-group 1 mode auto

 

 

Checking Etherchannel Details Commnd

show etherchannel
show etherchannel summary
show interface etherchannel

 

 

 

IEE Protocol LACP

Switch 1 Configuration

config t
int range fa0/1-2
channel-group 1 mode active

 

Switch 2 Configuration

config t
int range fa0/1-2
channel-group 1 mode passive

 

show etherchannel
show etherchannel summary
show interface etherchannel

 

Notes- Maximum 8 Port Bandil For Etherchannel