Scenario

SW1 has three gigabit links to SW2. Two of them, Gi0/1 and Gi0/2, should work as a single logical link that carries VLANs 10 and 20 and survives the loss of one cable. Gi0/3 is kept as a spare for a future link and must stay out of the bundle. SW2 is already configured with LACP in passive mode, so SW1 has to be the active side. The VLANs already exist. SW2's trunk uses native VLAN 99, so both ends have to agree on it.

Topology

SW1SW2

Requirements

  1. 1Gi0/1 and Gi0/2 are members of channel-group 1
  2. 2The bundle uses LACP in active mode
  3. 3Port-channel 1 is a trunk
  4. 4The trunk carries only VLANs 10 and 20
  5. 5Gi0/3 is not in any channel-group
  6. 6The native VLAN of Po1 matches SW2 (VLAN 99)

SW2 is already configured (LACP passive, trunk, native VLAN 99). Pick a switch above, press ? for options, and start with: enable

R1> show running-config

CCNA lab · about 10 min

EtherChannel with LACP

Bundle two uplinks to the neighbouring switch into one LACP port-channel, make it a trunk for two VLANs, and keep the spare link out of the bundle.

This lab is included in the CCNA plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this lab

SW1 has three gigabit links to SW2. Two of them, Gi0/1 and Gi0/2, should work as a single logical link that carries VLANs 10 and 20 and survives the loss of one cable. Gi0/3 is kept as a spare for a future link and must stay out of the bundle. SW2 is already configured with LACP in passive mode, so SW1 has to be the active side. The VLANs already exist. SW2's trunk uses native VLAN 99, so both ends have to agree on it.

About 10 minutes. Included in the CCNA plans and the free trial.

Questions about this lab

Is this a real Cisco switch?

No. It is a small simulator written by CertAce. It understands a handful of commands and keeps the state of one switch, so you can practise the ideas without lab gear. Real devices print more, and the exam may ask for things this lab does not cover. CertAce is not affiliated with Cisco.

Why use EtherChannel at all?

Because spanning tree would block all but one of several parallel links. An EtherChannel makes them one logical link, so STP sees a single port, and traffic is spread over all the links, with failover if one drops.

What is the difference between LACP and PAgP?

LACP is the open IEEE standard (802.3ad), with modes active and passive. PAgP is Cisco's older protocol, with modes desirable and auto. They do not interoperate. Mode on forces a bundle with no protocol.

Does the group number have to match on both switches?

No. The channel-group number is only significant locally. What must match is the protocol and compatible modes, plus the port settings of the member links.

CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.