CCNA Notes

200-301 Exam Prep

Progress0/67

0% complete

Practice TestsNew
1Networking Devices2Interfaces And Cables3OSI Model and TCP/IP Suite4Intro to the CLI5Ethernet LAN Switching - Part 16Ethernet LAN Switching - Part 27IPv4 Addressing - Part 18IPv4 Addressing - Part 29Switch Interfaces10The IPv4 Header11Routing Fundamentals - Part 111Static Routing - Part 212Life of a Packet13Subnetting - Part 114Subnetting - Part 215Subnetting (VLSM) - Part 316VLANs - Part 117VLANs - Part 218VLANs - Part 319DTP / VTP20Spanning Tree Protocol - Part 121Spanning Tree Protocol - Part 222Rapid Spanning Tree Protocol23Etherchannel24Dynamic Routing25RIP / EIGRP26OSPF - Part 127OSPF - Part 228OSPF - Part 329First Hop Redundancy Protocol30TCP and UDP31IPv6 - Part 132IPv6 - Part 233IPv6 - Part 334Standard Access Control List35Extended Access Control List36CDP and LLDP37NTP - Network Time Protocol38DNS - Domain Name System39DHCP - Dynamic Host Configuration Protocol40SNMP - Simple Network Management Protocol41SYSLOG42SSH - Secure Shell43FTP and TFTP44NAT (Static) - Part 145NAT (Dynamic) - Part 246QoS (Voice VLAN) - Part 147QoS (Quality of Service) - Part 248Security Fundamentals49Port Security50DHCP Snooping51Dynamic ARP Inspection52LAN Architectures53WAN Architectures54Virtualization and Cloud - Part 154Virtualization (Containers) - Part 254Virtualization (VRF) - Part 355Wireless Fundamentals56Wireless Architectures57Wireless Security58Wireless Configuration59Introduction to Network Automation60JSON, XML, and YAML61REST APIs62Software Defined Networking63Ansible, Puppet, and Chef67CCNA Complete Cheatsheet
/Etherchannel
Topic 236 min read

Etherchannel

/
Tip: Select text to highlight or pin your reading position

23. ETHERCHANNEL

WHAT IS ETHERCHANNEL?

ETHERCHANNEL allows you to GROUP multiple physical INTERFACES into a group which operates as a SINGLE LOGICAL INTERFACE - so they BEHAVE as if they are a single INTERFACE

A LAYER 2 ETHERCHANNEL is a group of SWITCH PORTS which operate as a SINGLE INTERFACE

A LAYER 3 ETHERCHANNEL is a group of ROUTED PORTS which operate as a SINGLE INTERFACE which you assign an IP ADDRESS to.

imageClick to enlarge

When the bandwidth of the INTERFACES connected to END HOSTS is greater than the bandwidth of the connection to the DISTRIBUTION SWITCH(es), this is called OVERSUBSCRIPTION.

Some OVERSUBSCRIPTION is acceptable, but too much will cause congestion.

imageClick to enlarge

  • If you connect TWO SWITCHES together with multiple links, ALL except ONE will be DISABLED by SPANNING TREE PROTOCOL (Green Lights vs. Orange Lights above on ASW1)

WHY?

  • If ALL of ASW1s INTERFACES were FORWARDING, LAYER 2 LOOPS would form between ASW1 and DSW1, leading to a BROADCAST STORM (Bad!)
  • Other links will be unused unless the active link fails. In that case, one of the inactive link will start forwarding.

An ETHERCHANNEL (in network topology diagrams) is represented like THIS (circle around multi-connections)

imageClick to enlarge

  • ETHERCHANNEL groups multiple channels together to act as a SINGLE INTERFACE
  • STP will treat this GROUP as a SINGLE INTERFACE

imageClick to enlarge

(All INTERFACES Green!)

TRAFFIC using ETHERCHANNEL will be load-balanced among the physical INTERFACES in the group.

An algorithm is used to determine WHICH TRAFFIC will use WHICH physical INTERFACE (more details later)

Some other names for an ETHERCHANNEL are:

  • PORT CHANNEL
  • LAG (Link Aggregation Group)

HOW DOES AN ETHERCHANNEL LOAD-BALANCE?

imageClick to enlarge

  • ETHERCHANNEL load-balances based on “flows”
  • A “flow” is a communication between TWO NODES in the NETWORK
  • FRAMES in the same “flow” will be FORWARDED using the SAME physical INTERFACE
  • If FRAMES in the same “flow” were FORWARDED using different physical INTERFACES, some FRAMES may arrive at the DESTINATION out of order/sequence, which can cause problems.
  • You can CHANGE the INPUTS used in the INTERFACE SELECTION calculation (for “flows”)
    • INPUTS that can be used:
      • SOURCE MAC ADDRESS
      • DESTINATION MAC ADDRESS
      • SOURCE and DESTINATION MAC ADDRESS
      • SOURCE IP ADDRESS
      • DESTINATION IP ADDRESS
      • SOURCE and DESTINATION IP ADDRESS

How to see the configuration for LOAD-BALANCING method

imageClick to enlarge

How to CHANGE the LOAD-BALANCING method

imageClick to enlarge

imageClick to enlarge


HOW TO CONFIGURE LAYER 2 / LAYER 3 ETHERCHANNELS

There are THREE methods of ETHERCHANNEL configuration on Cisco SWITCHES

PAgP (Port Aggregation Protocol)

  • Cisco proprietary protocol
  • Dynamically negotiates the creation/maintenance of the ETHERCHANNEL (like DTP does for trunks)

💡 LACP (Link Aggregation Control Protocol)

  • Industry standard protocol (IEEE 802.3ad)
  • Dynamically negotiates the creation/maintenance of the ETHERCHANNEL (like DTP does for trunks)

Static EtherChannel

  • A protocol isn’t used to determine if an EtherChannel should be formed
  • Interfaces are statically configured to form an EtherChannel

Up to 8 INTERFACES can be formed into a single ETHERCHANNEL (LACP allows up to 16 but only 8 will be ACTIVE, the other 8 will in STANDBY mode, waiting for an active INTERFACE to fail)


PAgP CONFIGURATION

imageClick to enlarge

💡 NOTE that “auto” and “desirable” are the ONLY available modes for PAgP

imageClick to enlarge

PAgP negotiations to form an ETHERCHANNEL

💡 AWS1(config-if-range)# channel-group 1 mode desirable. Creating a port-channel interface Port-channel1

Shows up in the interface as “Port-channel1”

imageClick to enlarge

The “channel-group” number has to MATCH for member INTERFACES on the same SWITCH.

It DOESN’T have to MATCH the “channel-group” number on the OTHER SWITCH!

💡 (channel-group 1 on AWS1 can form an ETHERCHANNEL with channel-group 2 on DSW1)


LACP CONFIGURATION

imageClick to enlarge

💡 NOTE that “active” and “passive” are the ONLY available modes for LACP

imageClick to enlarge

LACP negotiations for form an ETHERCHANNEL

The “channel-group” number has to MATCH for member INTERFACES on the same SWITCH.

It DOESN’T have to MATCH the “channel-group” number on the OTHER SWITCH!

💡 (channel-group 1 on AWS1 can form an ETHERCHANNEL with channel-group 2 on DSW1)


STATIC ETHERCHANNEL CONFIGURATION

imageClick to enlarge

💡 NOTE that “on” is the ONLY available mode for STATIC ETHERCHANNEL

ON mode only works with ON Mode

ON + desirable = DOES NOT WORK)

ON + active = DOES NOT WORK


HOW TO MANUALLY CONFIGURE THE NEGOTIATION PROTOCOL

imageClick to enlarge

TWO OPTIONS:

  • LACP Protocol
  • PAgP Protocol

(Above shows a protocol mismatch error because LACP does not support “desirable” - only PAgP does)

(“channel-group 1 mode active” works because LACP supports “active”)


AFTER CONFIGURING THE ETHERCHANNEL MODE

CONFIGURING THE PORT INTERFACE

imageClick to enlarge

“show running-config” shows “interface Port-channel1” in the configuration

imageClick to enlarge

💡 NOTE the PHYSICAL INTERFACES (g0/0-g0/3) were auto-configured by the Port-channel1 configuration!


IMPORTANT NOTES ABOUT ETHERCHANNEL CONFIGURATION

  • Member INTERFACES must have matching CONFIGURATIONS

    • Same DUPLEX (Full / Half)
    • Same SPEED
    • Same SWITCHPORT mode (Access / Trunk)
    • Same allowed VLANs / Native VLAN (for TRUNK interfaces)
  • If an INTERFACE’s configurations do NOT MATCH the others, it will be EXCLUDED from the ETHERCHANNEL


VERIFYING STATUS OF ETHERCHANNEL

💡 “show etherchannel summary”

imageClick to enlarge

NOTE information at bottom. (”SU” means S - Layer2 + U - in use)

Protocol = What protocol the Etherchannel is using (in this case, LACP)

“Ports” = the list of interfaces in the EtherChannel (P = bundled in port-channel)

OTHER FLAGS

imageClick to enlarge

“D” = Down

imageClick to enlarge

Changing one of the Member interfaces using “switchport mode access” has made it different than the other members so it is now appearing as “s” = suspended

Another useful command

💡 “show etherchannel port-channel”

imageClick to enlarge

💡 “show spanning-tree” will show the single EtherChannel port interface

imageClick to enlarge


LAYER 3 ETHERCHANNELS

imageClick to enlarge

HOW TO CONFIGURE A LAYER 3 ETHERCHANNEL (from a clean configuration)

imageClick to enlarge

💡 “show running-config”

imageClick to enlarge

NOTE : No SWITCHPORT and NO IP INTERFACE.

Where do we configure the IP Address? Directly on the PORT INTERFACE !

imageClick to enlarge

imageClick to enlarge

(”RU” - “R” = Layer 3, “U” = in use)

imageClick to enlarge


COMMANDS LEARNED IN THIS CHAPTER

Code
SW(config) port-channel load-balance *mode*

Configures the EtherChannel load-balancing method on a SWITCH

CLI
SW# show etherchannel load-balance

Displays information about the load-balancing settings

CLI
SW(config-if)# channel-group *number* mode {desirable | auto | active | passive | on}

Configures an interface to be PART of an EtherChannel

CLI
SW# show etherchannel summary

Displays a summary of EtherChannels on a SWITCH

CLI
SW# show etherchannel port-channel

Displays information about the virtual port-channel interfaces on a SWITCH

imageClick to enlarge

PreviousRapid Spanning Tree Protocol
NextDynamic Routing