🌐
CCNA Prep
  • Intro
  • Network Devices
  • Interfaces and Cables
  • OSI Model & TCP/IP Suite
  • Intro to the CLI
  • Ethernet LAN Switching (Part 1)
  • Ethernet LAN Switching (Part 2)
  • IPv4 Addressing (Part 1)
  • IPv4 Addressing (Part 2)
  • Switch Interfaces
  • IPv4 Header
  • Routing Fundamentals
  • The Life of a Packet
  • Subnetting (Part 1)
  • Subnetting (Part 2)
  • Subnetting (Part 3 - VLSM)
  • VLANs (Part 1)
  • VLANs (Part 2)
  • VLANs (Part 3)
  • DTP/VTP
  • Spanning Tree Protocol (Part 1)
  • Spanning Tree Protocol (Part 2)
  • Rapid Spanning Tree Protocol
  • EtherChannel
  • Dynamic Routing
  • RIP & EIGRP
  • OSPF (Part 1)
  • OSPF (Part 2)
  • OSPF (Part 3)
  • First Hop Redundancy Protocols
  • TCP & UDP
  • IPv6 (Part 1)
  • IPv6 (Part 2)
  • IPv6 (Part 3)
  • Standard ACLs
  • Extended ACLs
  • CDP & LLDP
  • NTP
  • DNS
  • DHCP
  • SNMP
  • Syslog
  • SSH
  • FTP & TFTP
  • NAT (Part 1)
  • NAT (part 2)
  • QoS (Part 1)
  • QoS (Part 2)
  • Security Fundamentals
  • Port Security
  • DHCP Snooping
  • Dynamic ARP Inspection
  • LAN Architectures
  • WAN Architectures
  • Virtualization & Cloud, Containers, VRF
  • Wireless Fundamentals
  • Wireless Architectures
  • Wireless Security
  • Wireless Configuration
  • Network Automation
  • JSON, XML, & YAML
  • REST APIs
  • Software-Defined Networking
  • Ansible, Puppet, & Chef
Powered by GitBook
On this page

EtherChannel

Day 23

PreviousRapid Spanning Tree ProtocolNextDynamic Routing

Last updated 1 year ago

EtherChannel

If you connect two switches together with multiple interfaces, all except one will be disabled by the STP. It is a waste of bandwidth. EtherChannel groups multiple physical interfaces together to act as a single logical interface. Traffic using the EtherChannel is load balanced among the physical interfaces. EtherChannel is also known as PortChannel, LAG (Link Aggregation Group).

ASW - Access Layer Switch, a switch that end hosts connect to.

DSW - Distribution Layer Switch, a switch that access switches connect to.

Load Balancing

EtherChannel load balances based on the flows. A flow is a communication between two nodes. Frames in the same flow are forwarded using the same physical interface. Depending on the switch, configuration settings for interface selection calculation can be changed based on these:

  • Source MAC address

  • Destionat MAC address

  • Source and Destination MAC address

  • Source IP address

  • Destination IP address

  • Source and Destination IP address

To see the current load balancing method, use show etherchannel load-balance command from the privileged EXEC mode. To change the config settings, enter the global config mode and use the command port-channel load-balance followed by the method.

Protocols

There are 3 methods of EtherChannel configuration: PAgP (Port Aggregation Protocol), LACP (Link Aggregation Control Protocol), and Static. 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 be in standby mode. LACP is IEEE 802.3ad standard.

Configuration

It is better to configure interfaces in a bunch using the interface range command. Enter the interface config mode and use the channel-group followed by virtual interface number followed by mode and the mode you want to use. auto and desirable modes are used for PAgP similarly to DTP. PortChannel gets created automatically. active and passive modes are used for LACP. If both ends are configured in passive mode, EtherChannel won't be formed. In all other cases, it forms an EtherChannel. on mode configures Static EtherChannel. It doesn't work with other modes. To manually configure the negotiation protocol, enter the channel-protocol command followed by the mode (lacp/pagp). To verify the EtherChannel config settings, enter show etherchannel summary or show etherchannel port-channel.

Member interfaces must have matching configurations:

  • Duplex

  • Speed

  • Switchport mode

  • VLAN settings

If an interface's configurations don't match the others, it is excluded from the EtherChannel.

6KB
Day 23 Flashcards - EtherChannel.apkg
89KB
Day 23 Lab - EtherChannel.pkt
etherchannel