In this lab we set up EtherChannel in mode on (static) and with PAgP on Cisco switches in Cisco Packet Tracer. EtherChannel bundles several switch-to-switch cables into one logical link called a port-channel. You get more bandwidth, and if one cable dies, traffic keeps flowing over the others.
I already covered EtherChannel with LACP. This time we look at the other two options. Mode on forces the bundle with no negotiation at all, while PAgP is Cisco’s own negotiation protocol. The lab is also harder than the usual two-switch example: a multilayer switch in the core, two VLANs with inter-VLAN routing, a cable failure test, and a misconfiguration test with a result that surprised me. Everything was done in Cisco Packet Tracer 8.2.1.
Lab Topology and Devices
At the top sits CORE, a 3560 multilayer switch. A multilayer switch can also route, so PCs in different VLANs can talk without a separate router. Below it are SW-A and SW-B, each connected to CORE with two cables.
SW-A’s two cables form Port-channel 1 in mode on. SW-B’s two cables form Port-channel 2 with PAgP. I made them different on purpose so we can compare how each one behaves in the same lab.
CORE 3560 on top, SW-A on the left, SW-B on the right

Each pair of dashed lines is one EtherChannel.
Device Ports Notes
CORE (3560) Fa0/1, Fa0/2 -> SW-A Port-channel 1, mode on
CORE (3560) Fa0/3, Fa0/4 -> SW-B Port-channel 2, PAgP desirable
SW-A (2960) Fa0/23, Fa0/24 -> CORE Port-channel 1, mode on
SW-B (2960) Fa0/23, Fa0/24 -> CORE Port-channel 2, PAgP auto
PC Switch / Port VLAN IP Gateway
PC0 SW-A Fa0/1 10 192.168.10.11 192.168.10.1
PC1 SW-A Fa0/2 20 192.168.20.11 192.168.20.1
PC2 SW-B Fa0/1 10 192.168.10.12 192.168.10.1
PC3 SW-B Fa0/2 20 192.168.20.12 192.168.20.1The gateways 192.168.10.1 and 192.168.20.1 are VLAN interfaces (SVIs) on the CORE switch.
Two crossover cables between SW-A and CORE

All four switch-to-switch links use Copper Cross-Over. PCs connect to the switches with Copper Straight-Through. Every cable in one EtherChannel must be the same type and speed, and here they are all FastEthernet.
Setting IP Addresses and Gateways on the PCs
Each PC gets a static IP and a default gateway. The gateway is required because PC0 and PC1 are in different VLANs, so traffic between them has to be routed by CORE.
The steps are the same on every PC, so I only show PC1.
Open PC1

Click PC1 at the bottom left.
PC1 IP and gateway

Desktop tab, IP Configuration, Static, then 192.168.20.11, mask 255.255.255.0, gateway 192.168.20.1. Repeat on PC0, PC2, and PC3 using the table.
SW-A with EtherChannel Mode On
Mode on means the switch treats the cables as one bundle straight away, without asking the switch on the other end. It does not send a single negotiation packet.
That makes it simple and fast. The downside is that the switch cannot notice when the other side is set up wrong. We will prove that in the tests.
Open SW-A

Click Switch0 on the left, then the CLI tab. Answer no if the initial configuration dialog appears.
enable
configure terminal
hostname SW-A
vlan 10
name STAFF
vlan 20
name FINANCE
exit
interface fa0/1
switchport mode access
switchport access vlan 10
interface fa0/2
switchport mode access
switchport access vlan 20
interface range fa0/23 - 24
channel-group 1 mode on
exit
interface port-channel 1
switchport mode trunk
end
write memoryPort-channel1 comes up immediately

Look at the message Port-channel1, changed state to up. The port-channel came up even though CORE had not been configured at all. Mode on does not wait for anyone’s agreement.
The trunk setting goes on interface port-channel 1, not on Fa0/23 and Fa0/24. The physical member ports follow whatever the port-channel is set to.
SW-B with PAgP Auto
PAgP (Port Aggregation Protocol) is Cisco’s protocol for negotiating an EtherChannel. It has two modes. Desirable actively asks the other side to form a bundle, while auto only waits to be asked.
SW-B uses auto, and CORE will use desirable. An auto and auto pair never forms a bundle, because both sides just sit and wait.
Open SW-B

Click Switch1 on the right, then the CLI tab.
enable
configure terminal
hostname SW-B
vlan 10
name STAFF
vlan 20
name FINANCE
exit
interface fa0/1
switchport mode access
switchport access vlan 10
interface fa0/2
switchport mode access
switchport access vlan 20
interface range fa0/23 - 24
channel-group 2 mode auto
exit
interface port-channel 2
switchport mode trunk
end
write memoryThe physical ports come up, the port-channel does not

This time there is no Port-channel2 up message. Only Fa0/23 and Fa0/24 come up as ordinary ports.
Po2 is still SD before CORE is configured

show etherchannel summaryPo2(SD) means Layer 2 but down. Fa0/23(I) and Fa0/24(I) are stand-alone, so each runs on its own and is not in the bundle yet. That is the big difference from mode on: PAgP waits for the other side to agree first.
CORE: Two Port-Channels and Inter-VLAN Routing
CORE has the most work to do. It terminates both EtherChannels and is also the gateway for VLAN 10 and VLAN 20.
The 3560 supports two trunk encapsulations, so you must pick dot1q by hand before enabling the trunk. A 2960 skips this step because dot1q is all it has.
Open CORE

Click Multilayer Switch0 at the top, then the CLI tab. This switch shows the initial configuration dialog, so type no and press Enter.
enable
configure terminal
hostname CORE
ip routing
vlan 10
name STAFF
vlan 20
name FINANCE
exit
interface range fa0/1 - 2
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode on
interface range fa0/3 - 4
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 2 mode desirable
exit
interface vlan 10
ip address 192.168.10.1 255.255.255.0
no shutdown
interface vlan 20
ip address 192.168.20.1 255.255.255.0
no shutdown
end
write memorySVIs for VLAN 10 and VLAN 20 are up

ip routing turns on the router function inside the switch. interface vlan 10 and vlan 20 are SVIs (Switch Virtual Interfaces), virtual interfaces that act as the gateway for each VLAN. Both go up once the port-channels to the access switches are active.
My experience: The first time I pasted the configuration into CORE, every command came back with Please answer yes or no. The 3560 was still waiting for an answer to the initial configuration dialog. Type no, press Enter a few times until you see Switch>, then enter the configuration.
Checking the EtherChannels and Trunks
With all three switches configured, we check that both bundles formed. The most useful EtherChannel command is show etherchannel summary.
Two sets of letters matter. The letters after the port-channel show the bundle’s state, and the letter after each port shows whether that port actually joined the bundle.
Po1 and Po2 are both SU

show etherchannel summaryPo1(SU) and Po2(SU) mean Layer 2 and in use. Every port shows (P), so they are all in their port-channel. The Protocol column for Po1 is a dash because mode on uses no protocol, while Po2 shows PAgP.
The trunk runs on the port-channels

show interfaces trunkThe trunks listed are Po1 and Po2, not Fa0/1 to Fa0/4. VLANs 1, 10, and 20 are active on both port-channels.
Testing Inter-VLAN Traffic over EtherChannel
Now we prove the path actually works. PC0 in VLAN 10 pings PC1 in VLAN 20 (same switch), then PC3 in VLAN 20 (the other switch).
The ping to PC3 is the full test. The packet leaves over Po1, CORE routes it from VLAN 10 to VLAN 20, and it goes down Po2 to SW-B.
Open PC0

Click PC0, open the Desktop tab, then Command Prompt.
Ping PC1 and PC3

ping 192.168.20.11
ping 192.168.20.12Both work with TTL=127. The TTL dropped by one from 128, which shows the packet crossed one routing device, CORE. The first timeout is ordinary ARP.
Cable Failure Test on Port-Channel 1
Redundancy is one of the main reasons to use EtherChannel. If one cable dies, the bundle stays up as long as another member is alive.
To simulate a broken cable I shut down Fa0/1 on CORE. The effect is the same as pulling the cable, but it is easier to undo.
Fa0/1 is down, Po1 is still SU

configure terminal
interface fa0/1
shutdown
end
show etherchannel summaryFa0/1 changes to (D) for down, but Po1 is still (SU) because Fa0/2 is still (P).
The ping still shows 0% loss

From PC0 I pinged PC3 again and got 4 replies, 0% loss. Users would not notice anything even though one uplink is dead. Afterwards I brought Fa0/1 back with no shutdown.
The Hard Test: Mode On Meets LACP
This happens when two people configure the two ends separately. CORE stays in mode on, while SW-A is changed to LACP (mode active).
If both sides used a protocol, a mistake like this would be caught at once and no bundle would form. The problem is that mode on never sends negotiation packets, so CORE has no idea the other side changed.
Change SW-A to mode active

configure terminal
interface range fa0/23 - 24
no channel-group 1
channel-group 1 mode active
end
show etherchannel summaryAfter 30 seconds SW-A shows Po1(SD) with protocol LACP, and Fa0/23 and Fa0/24 are (I) stand-alone. On SW-A the bundle failed, but CORE, still in mode on, believes Po1 is fine.
The ping works, but with a duplicate reply

I pinged the gateway from PC0. The result was odd: Sent = 4, Received = 5. One reply arrived twice. On SW-A the two cables run as separate ports, while CORE treats them as one bundle, so frames can get duplicated.
My experience: On a real network this can get much worse: duplicate packets, MAC addresses flapping between ports, even a loop. That is why Cisco recommends LACP or PAgP on both ends, and mode on only when you control both switches yourself.
Put SW-A back in mode on

configure terminal
interface range fa0/23 - 24
no channel-group 1
channel-group 1 mode on
exit
interface port-channel 1
switchport mode trunk
end
write memory
show etherchannel summaryPo1 is back to (SU) with Fa0/23 and Fa0/24 as (P). After no channel-group the trunk setting on the port-channel is gone too, so switchport mode trunk has to go back on.
Which EtherChannel Mode Pairs Work
Every EtherChannel has two ends, and not every pair of modes forms a bundle. This table sums up the lab results and Cisco’s rules.
The two things to remember: mode on only matches on, and two passive modes (auto with auto, passive with passive) never form a bundle.
Side A Side B Result
on on Bundle forms (no negotiation)
on active/auto Mismatch, duplicates or loops possible
desirable auto PAgP bundle forms
desirable desirable PAgP bundle forms
auto auto No bundle
active passive LACP bundle forms
active active LACP bundle forms
passive passive No bundle
PAgP LACP No bundleCommon Problems and Fixes
Most EtherChannel problems come from settings that differ between bundle members or between the two ends of the link. A switch will refuse to bundle a port whose settings do not match.
Make a habit of checking show etherchannel summary on both switches, not just one.
The port-channel is SD and the ports show (I)
The modes on the two ends do not match, for example auto with auto. Change one side to desirable.
switchport mode trunk is rejected on the 3560
A multilayer switch needs switchport trunk encapsulation dot1q before mode trunk.
Ports show (s) suspended
The member ports have different settings, such as VLAN or speed. Make all members identical and set the trunk on the port-channel interface.
PCs in different VLANs cannot ping
ip routing is not on in CORE, or a PC has the wrong gateway. Check show ip route on CORE.
We now have mode on and PAgP EtherChannels in one topology, proof that the backup cable works, and a first-hand look at the risk of a mode that never negotiates. To compare with LACP, read EtherChannel LACP configuration in Cisco Packet Tracer. If parallel cables are not bundled with EtherChannel, STP blocks one of them. How to choose which one stays active is covered in STP port priority and port cost configuration. If something breaks while you follow along, leave a comment below.












