Another Security Blog

A place to show my mad skills

TidBits Walkthroughs Resources Projects View on GitHub
11 July 2025

TB - GNS3 Lab: PAgP LACP Etherchannel

by C. Casquatch

Lab from Renee Molenaar

Topology

SW1 <--> SW2 : Gi0/0, Gi0/1
SW1 <--> SW3 : Gi0/3, Gi0/1
SW2 <--> SW3 : Gi0/2, Gi0/3

Screenshot 1

Lab Goals

  1. Configure PAgP between SW1 and SW2:
    • SW1 = desirable (active)
    • SW2 = auto (passive)
  2. Configure LACP between SW1 and SW3:
    • SW1 = active
    • SW3 = passive
  3. Configure static EtherChannel between SW2 and SW3 (no negotiation protocol).
  4. Set EtherChannel on SW1 to use destination MAC address for load-balancing.

Step-by-Step Configuration

1. PAgP EtherChannel: SW1 ↔ SW2

On SW1:

conf t
interface range gi0/0 - 1
 channel-group 1 mode desirable
exit
interface port-channel 1
 switchport
 switchport mode access
exit

On SW2:

conf t
interface range gi0/0 - 1
 channel-group 1 mode auto
exit
interface port-channel 1
 switchport
 switchport mode access
exit

2. LACP EtherChannel: SW1 ↔ SW3

On SW1:

conf t
interface range gi0/3, gi0/1
 channel-group 2 mode active
exit
interface port-channel 2
 switchport
 switchport mode access
exit

On SW3:

conf t
interface range gi0/0 - 1
 channel-group 2 mode passive
exit
interface port-channel 2
 switchport
 switchport mode access
exit

3. Static EtherChannel: SW2 ↔ SW3

On SW2:

conf t
interface range gi0/2 - 3
 channel-group 3 mode on
exit
interface port-channel 3
 switchport
 switchport mode access
exit

On SW3:

conf t
interface range gi0/2 - 3
 channel-group 3 mode on
exit
interface port-channel 3
 switchport
 switchport mode access
exit

4. Load-Balancing (SW1)

On SW1:

conf t
port-channel load-balance dst-mac
exit

Verification Commands

show etherchannel summary

Screenshot 2

Screenshot 3

show interfaces port-channel 1
show interfaces port-channel 2
show interfaces port-channel 3

Screenshot 4

Screenshot 5

Screenshot 6

show running-config | include channel-group

Screenshot 7

Screenshot 8

Screenshot 9

show etherchannel load-balance

Screenshot 10


Notes


tags: GNS3 - pagp - Networking - lacp - etherchannel