TechKnowSurge
Cisco CCNA 2.4 Cisco CCNA 2.5 Cisco CCNA 2.1
VideoNetworkFree

Link Aggregation

Link aggregation combines multiple physical network links between switches into a single logical connection, increasing total bandwidth and providing redundancy. Configuration requirements, load sharing behavior, and key differences from Spanning Tree Protocol are also covered.

Complete this video to capture a CTF flag worth 1 point.

About this video

Link aggregation is a networking technique that combines multiple physical Ethernet links between two switches into a single logical connection with greater throughput. For example, four 100 Mbps links bonded together produce a single 400 Mbps logical link, and up to eight links can be aggregated at a time, supporting a maximum of 800 Mbps on Fast Ethernet or 8 Gbps on Gigabit Ethernet connections. Beyond raw bandwidth gains, link aggregation also provides redundancy at the link level, since traffic automatically continues across the remaining links if one physical connection fails. The technology is vendor-neutral and goes by several names, including bundling, bonding, channeling, and teaming, while Cisco specifically refers to it as EtherChannel. Although link aggregation and Spanning Tree Protocol both address redundancy between switches, they serve fundamentally different purposes. Spanning Tree Protocol detects redundant paths across a multi-switch network and shuts down selected links to eliminate Layer 2 loops and broadcast storms. Link aggregation, by contrast, keeps all bonded links active and distributes traffic across them through dynamic load sharing, something Spanning Tree Protocol cannot do natively. Because link aggregation only manages the bundled links between two specific switches and does not suppress loops elsewhere in the network, Spanning Tree Protocol remains necessary for broader loop prevention. Successful link aggregation requires that all participating ports be configured consistently on both sides of the connection. Speed, duplex, port type, and VLAN assignments must match across every member link; mismatched configurations will prevent the bundle from forming correctly. Ports within an aggregation group do not need to be physically adjacent on the switch, though grouping them together is common practice for clarity. Additional limitations include the restriction that all member links must operate at the same speed, meaning Fast Ethernet and Gigabit Ethernet ports cannot be mixed in the same bundle, and certain switches cap the total number of aggregation groups they can support simultaneously.

What you'll learn

What's covered

Link Aggregation

Aligned to

Cisco CCNA
2.4 Configure and verify Layer 2/Layer 3 EtherChannel (LACP)
2.5 Interpret basic operations of Rapid PVST+ Spanning Tree Protocol
2.1 Configure and verify VLANs (normal range) spanning multiple switches

Key terms

Link Aggregation
A technique that combines multiple network links into a single logical connection to increase bandwidth and provide redundancy between switches.
Bandwidth
The maximum rate of data transfer across a network path, typically measured in bits per second.
Redundancy
The duplication of critical components or systems to increase reliability and availability.
Spanning Tree Protocol
STP
A network protocol that prevents loops in Ethernet networks by creating a loop-free logical topology.
Switch
A network device that connects devices within a LAN and forwards traffic based on MAC addresses.
Virtual LAN
VLAN
A logical grouping of network devices that behave as if they are on the same network regardless of physical location.
Full Duplex
A communication mode that allows data to be transmitted in both directions simultaneously.
Load Sharing
The distribution of network traffic across multiple links within an aggregated connection to optimize bandwidth utilization.

Topics

Link Aggregation Lacp Load Balancing Spanning Tree Protocol Switch Configuration Networking

Transcript

Link aggregation

Link aggregation is when we combine multiple links together to create more bandwidth between two switches. As an example, I might have two switches that have ports on them that operate at 100 megabits per second. If I were to just connect one of those links together, then perhaps that's not enough bandwidth between those two switches to facilitate all my traffic. I may need more than 100 megabits per second between those two switches. So what I can do is plug in multiple ports — for this example, say four of those ports — and aggregate them together, and now I have one link between those switches that operates at 400 megabits per second.

We talked about spanning tree protocol, and during that process we actually created multiple links between our switches. We created two links between every single switch to create redundancy. But we also talked a lot about spanning tree protocol and how spanning tree protocol allows this to happen, because it eliminates or shuts down some of these extra links. It will turn off some of these links so they're not all operating, and that mitigates against any kind of loops.

Well, link aggregation allows us to actually utilize those links. What I can do is combine these two links over here into one link, therefore increasing the amount of bandwidth that I have across there. And I can do it for two, three, four, five, up to eight different links I can band together. So if these are 100 megabit per second connections, then I can band up to eight of them together and get 800 megabits per second between these switches. If they're gigabit connections, I can band up to eight of them and get eight gigabits per second between these switches. So link aggregation is great, and it also allows for that redundancy, because if one of those links dies then the connection still remains up and running.

Now, link aggregation goes by many different names. Link aggregation is the most common, but you'll also hear the terms bundling, bonding, channeling and teaming. Cisco calls it EtherChannel, and we'll talk more about EtherChannels and what EtherChannels look like. Midway through this module we're actually going to switch our terminology and just start talking about EtherChannels, but I'm going to talk about link aggregation right now because link aggregation is not Cisco specific.

Link aggregation and spanning tree protocol

I like to relate it to spanning tree protocol because there are some similarities, there are some overlaps between link aggregation and spanning tree protocol. But, once again, they serve two very different purposes. Spanning tree protocol actively looks for redundant links and shuts them down, and allows you to mitigate against layer 2 loops that happen and broadcast storms that happen. Link aggregation allows us to bundle those links together to create more bandwidth between our switches.

First of all, link aggregation creates redundancy between two switches. I will bond the links between two switches together to create some redundancy within there, so if any one of those links fails it's still up and running. Spanning tree protocol allows us to create redundancy between many different switches. Link aggregation doesn't do that — I mean, we can have links between many different switches, but they can't all be bonded together into one aggregation.

The other thing that link aggregation allows us to do is some load sharing amongst those different ethernet cables. There are some different ways that we can load balance, or we can share the load between those different links. It's kind of interesting how some of that does that, and it's beyond the scope of this course, but just know that link aggregation really just shares the load amongst all of those bonded links.

Spanning tree protocol doesn't really have that capability. They don't really have load sharing amongst the multiple links. The one exception to that is that we can actually do a per VLAN spanning tree protocol, so if we wanted to engineer our network so some VLANs use one link and other VLANs use other links, we can actually divide that up and have some load sharing. But it doesn't dynamically change. The load sharing is just based per VLAN, and you could have one VLAN that just needs a ton of data where another VLAN doesn't need as much bandwidth between those switches, and spanning tree protocol is not going to adjust for that, versus link aggregation will. We can utilize all of those links.

Link aggregation increases the bandwidth of a link, and once again spanning tree protocol has just a dedicated link per VLAN, very similar to what I just mentioned.

Link aggregation does not eliminate loops that happen within your network. It can eliminate the need for spanning tree protocol just between the links that are aggregated, but it doesn't involve other links and other connections throughout your network, and where you want multiple backups to our backups. So with all of that we still need spanning tree protocol, because it really eliminates the loops in your network. So those are some of the similarities and differences between link aggregation and spanning tree protocol.

Configuration guidelines

You can have anywhere from two to eight of these links bonded together to combine their bandwidth, but there are some configuration guidelines along with this.

First of all, what you should know is they don't have to be physically contiguous ports. What I mean by that is they don't have to be right next to each other on the switch. This port could be 0/1 and this port could be 0/48, and I can still link them up. Now, generally speaking we do have them right next to each other on the switch. I like to usually put mine right towards the end of the switch and have them grouped up all together — 0/47 and 48, or 0/45, 46, 47 and 48 — and group them up that way. It just makes more sense when you're looking at the configuration, and it makes more sense when you're plugging in, but it doesn't have to be set up that way.

The other thing is that you must have your configurations match on both sides, and there are several ways that they must match.

  • First of all, the speed and duplex must be the same on both sides in order for this communication to happen. Otherwise they're not going to make that same connection.
  • Also, they must be the same type of port. So this side could be an access port and this side could be an access port as well, or trunk ports on both sides, or routed ports on both sides. They must match from that perspective.
  • Also, the VLANs need to match. So if this is an access port and it's on VLAN 10, then this side also needs to be set up for VLAN 10.

If you are configuring these, you can still configure the individual ports — in fact we're going to have to do that to bring them together onto the same link aggregation — but then I recommend configuring the actual link aggregation as a whole, because if you put two different configurations on each one of these ports then it will not function correctly. Those configurations need to match.

Some limitations of link aggregation: you can only bind up to eight connections at any given time, so that's one of the limitations. Another limitation is you can't combine a Fast Ethernet and a Gigabit Ethernet at the same time, so this side can't be at a hundred Meg and this side at one gigabit per second. That type of connection isn't going to be allowed. They all have to be 100 Meg, or they all have to be a gigabit connection. Also, there's a limit on how many EtherChannels you can have on a single switch, or link aggregations on a single switch. For instance, a 2960 can only have up to six of these EtherChannels on a switch. So there are some limitations on how many of these EtherChannels, or how many of these link aggregations, I create.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →