Hi everyone, in the STP article we saw that when two switches are connected with two cables, one of them gets blocked so a loop cannot form. That means the second cable just sits idle as a backup. EtherChannel solves this by bundling several physical cables into one logical link called a port-channel. STP sees the bundle as a single link, so every cable stays active at the same time and the bandwidth adds up too.
In this article I practice EtherChannel with the LACP protocol in Cisco Packet Tracer 8.2.1, bundling two Gigabit ports between a pair of switches. If you have not read about STP yet, check out my guide on STP configuration in Cisco Packet Tracer first.
The Topology and Cables Used
Two switches with two parallel cables

The lab uses 2 Cisco 2960-24TT switches and 2 PCs. The two switches are connected to each other with two cables at once.

The light blue box marks the two cables that will be bundled into Port-channel 1, and the note inside it says that Gig0/1 and Gig0/2 are combined into Port-channel 1 using LACP. PC0 uses the IP 172.20.0.1 and PC1 uses 172.20.0.2.
Switch0 Gig0/1 -> Switch1 Gig0/1 (cross-over)
Switch0 Gig0/2 -> Switch1 Gig0/2 (cross-over)
PC0 FastEthernet0 -> Switch0 Fa0/1 (straight)
PC1 FastEthernet0 -> Switch1 Fa0/1 (straight)The switch to switch links use Copper Cross-Over, while the PC to switch links use Copper Straight-Through. Make sure both cables between the switches use the same port type. Here they are both GigabitEthernet.
Before EtherChannel, one cable is blocked

Without any configuration, once STP finishes its calculation, Gig0/2 on Switch1 turns orange. STP blocks the second cable because it treats it as a loop, so only one cable is actually carrying traffic.
Configuring EtherChannel on Switch0
Open the Switch0 CLI

Click Switch0 on the left.

Click the CLI tab, then press Enter until the Switch> prompt appears.
Bundle Gig0/1 and Gig0/2

enable
configure terminal
hostname SW-A
interface range gigabitEthernet0/1-2
channel-group 1 mode active
exit
interface port-channel 1
switchport mode trunk
end
write memoryThe channel-group 1 command puts both ports into group number 1, and the switch automatically creates a new interface called Port-channel 1. Mode active means this switch actively invites the switch on the other end to negotiate using LACP, an open standard that devices from other vendors support as well.
Settings such as trunk only need to be applied on interface port-channel 1. There is no need to repeat them on Gig0/1 and Gig0/2 one by one.
Configuring EtherChannel on Switch1
Open the Switch1 CLI

Close the Switch0 window, then click Switch1 on the right and open the CLI tab.
The same commands on the other side

enable
configure terminal
hostname SW-B
interface range gigabitEthernet0/1-2
channel-group 1 mode active
exit
interface port-channel 1
switchport mode trunk
end
write memoryIt is a good idea to use the same channel-group number on both switches so the config is easy to read, even though technically the number only has local meaning on each switch.
Checking the EtherChannel Result
Port-channel status

Wait about 30 seconds, then run the following command on Switch1.
show etherchannel summaryThe last line shows Po1(SU) with the LACP protocol and the members Gig0/1(P) and Gig0/2(P). The letter S means Layer 2, U means the port-channel is in use, and P means the port has joined the port-channel.
Combined bandwidth

show interfaces port-channel 1Port-channel1 is up with a BW of 2000000 Kbit, which is 2 Gbps from combining two 1 Gbps ports. The Members in this channel line lists Gig0/1 and Gig0/2. Press q to leave the –More– view.
Both cables are active

Take another look at the topology. Gig0/1 and Gig0/2 are now both green, because STP sees them as a single Port-channel 1 link.

If a light is still orange after the configuration, click the Fast Forward Time button in the bottom left corner of Packet Tracer a few times to speed up the STP process.
Testing the Connection
Ping from PC0 to PC1

Set the PC0 IP to 172.20.0.1 and the PC1 IP to 172.20.0.2 with the subnet mask 255.255.255.0 through Desktop and then IP Configuration. After that, open the Command Prompt on PC0.

ping 172.20.0.2The ping goes through Port-channel 1 successfully. If you unplug one of the cables, the port-channel stays up with a single member and the ping keeps working.
Common Problems and How to Fix Them
The port-channel shows SD or a member is flagged I
The modes on the two sides do not match. LACP needs at least one side set to active. If both sides are passive, the negotiation never happens.
A message says the interface is not compatible
All members must have the same speed, duplex, and switchport mode. Remove the settings that differ on one of the ports, or apply them directly on the port-channel interface instead.
One cable stays orange
Check show etherchannel summary. If the port is not flagged P, it has not joined the port-channel yet and STP still treats it as a separate link.
At this point the two cables between the switches are active together as one 2 Gbps link. In the next article we cover HSRP, a way to make two routers back each other up as the gateway so the network keeps running when one router goes down. If you run into any other error while trying this, just leave a comment below.












