Switching and VLANsIntermediate23 min read

What Is PAgP in Networking?

Reviewed byJohnson Ajibi· Senior Network & Security Engineer · MSc IT Security

This page mentions older exam versions. See the Current Exam Context and Legacy Exam Context sections below for the updated mapping.

On This Page

Quick Definition

PAgP is a system that groups several network cables together so they work as one stronger, faster connection. It is used in Cisco switches to combine ports automatically. This helps avoid bottlenecks if one cable fails. Think of it like several checkout lanes merging into one express lane for data traffic.

Commonly Confused With

PAgPvsLACP

LACP (Link Aggregation Control Protocol) is the IEEE 802.3ad standard for link aggregation, while PAgP is Cisco proprietary. LACP works with switches from any vendor that supports it, whereas PAgP only works between Cisco devices. LACP uses modes active and passive, similar to PAgP's desirable and auto.

If you have a Cisco switch connecting to a Juniper switch, you must use LACP. If both switches are Cisco, you can choose either PAgP or LACP.

PAgPvsStatic EtherChannel (mode on)

A Static EtherChannel is manually configured without any negotiation protocol. You force the bundle by setting 'channel-group 1 mode on' on both sides. PAgP uses automatic negotiation and ensures compatibility before forming the bundle. Static mode does not detect misconfigurations and can cause loops if parameters do not match.

Setting both sides to 'mode on' will form an EtherChannel even if the speeds differ, which can lead to packet loss. PAgP would refuse to bundle mismatched ports.

PAgPvsTrunking (802.1Q)

Trunking is a method to carry multiple VLANs over a single link using VLAN tagging. PAgP bundles multiple physical links into one logical link. You can (and often do) configure the EtherChannel to be a trunk as well, but they are separate concepts. PAgP deals with aggregation; 802.1Q deals with VLAN tagging.

You have four cables between switches. PAgP makes them look like one cable (the bundle). Then you set that bundle to trunk mode so that multiple VLANs can use the single logical cable.

Must Know for Exams

PAgP is a recurring topic in Cisco CCNA, CCNP Enterprise, and even some CompTIA Network+ exams. In the CCNA 200-301 exam, link aggregation is a core objective under the Network Access domain. Candidates must understand the differences between PAgP and LACP, the modes (desirable, auto, passive, active, on), and how to configure EtherChannels on Cisco IOS. The exam will test you on scenarios where you need to choose the correct protocol for a given environment (Cisco-only vs. multi-vendor). You might also see questions about load balancing methods (src-mac, dst-mac, src-dst-ip, etc.) that apply to both PAgP and LACP EtherChannels.

In CCNP ENCOR (350-401) and ENARSI (300-410), PAgP appears in more complex troubleshooting scenarios. You may be asked to analyze a configuration where an EtherChannel fails to form. The root cause is often a mismatch in PAgP mode (e.g., both sides set to auto), inconsistent port settings (different speed, duplex, or VLAN allowed list), or a misconfigured trunk. Questions may also involve PAgP interaction with Rapid PVST+ or MSTP, where an incorrect configuration could lead to a loop. Expect to see exhibit-based questions with command outputs from show etherchannel summary, show pagp neighbor, or show interfaces port-channel.

CompTIA Network+ (N10-008) includes link aggregation as a key concept, though it focuses on the general idea more than proprietary details. You might need to know that PAgP is Cisco-specific and that LACP is the IEEE standard. Questions could ask you to identify which protocol to use for a non-Cisco switch pair. For Network+, knowing the purpose of link aggregation (bandwidth and redundancy) is more important than memorizing modes.

For any exam, the most common question types are: scenario-based (you are given a network diagram and must design an EtherChannel), configuration (complete the missing command), and troubleshooting (identify why the bundle is not coming up). You will also see multiple-choice questions that ask "Which PAgP mode initiates negotiation?" (answer: desirable) or "What happens if one link in an EtherChannel fails?" (answer: traffic is redistributed to remaining links). Being comfortable with show commands and the output fields (like the Flags column indicating PAgP state) will help you answer quickly and accurately.

Simple Meaning

Imagine you are running a busy highway with three separate toll booths. Each booth can handle a certain number of cars per minute, but the traffic is spread out unevenly. Sometimes one booth is idle while another is backed up. Now picture that instead of three separate booths, you combine them into one super-wide express lane with a single payment point. Cars can pass through much faster because they all share the combined capacity. PAgP does exactly that for network cables.

In a computer network, switches are like traffic controllers. They send data packets (the cars) between devices. Normally, you might connect two switches with several cables to get more total bandwidth. But without PAgP, those cables operate independently, and the network cannot balance the load efficiently. PAgP (Port Aggregation Protocol) automatically groups those cables into a single logical link called an EtherChannel. The switches treat the bundle as one big pipe, not several small ones.

PAgP does this negotiation automatically. When you enable it on two connected Cisco switches, the switches exchange special messages (called PAgP packets) to agree on which ports should join the bundle. They check that the ports on both ends have matching settings like speed, duplex, and VLAN membership. Once the agreement is reached, the ports become part of the EtherChannel and start sharing the traffic load. If one physical cable in the bundle fails, PAgP automatically sends traffic through the remaining cables without any interruption. This gives you both extra speed and fault tolerance.

It is important to know that PAgP only works between Cisco devices. There is an open standard alternative called Link Aggregation Control Protocol (LACP) that works across different vendors. But for Cisco-only networks, PAgP is simple and reliable. The key takeaway is that PAgP helps you get more performance out of your existing cables without buying new hardware. It is like turning several narrow hallways into one wide corridor for data.

Full Technical Definition

Port Aggregation Protocol (PAgP) is a Cisco proprietary link aggregation protocol defined for use with Cisco switches and routers. It operates at Layer 2 of the OSI model and facilitates the automatic creation of EtherChannels, which are logical groupings of multiple physical Ethernet links. PAgP was developed before the IEEE standardized 802.3ad (Link Aggregation Control Protocol, LACP) and remains widely used in legacy and current Cisco enterprise networks due to its simplicity and tight integration with Cisco's Spanning Tree Protocol (STP) enhancements.

PAgP uses a neighbor discovery and negotiation mechanism. When PAgP is enabled on a switch port, the port begins sending PAgP packets (multicast frames with destination MAC 01-00-0C-CC-CC-CC for Cisco proprietary protocols) every few seconds. The remote switch port running PAgP receives these packets and, if the ports are compatible (same speed, duplex, VLAN membership, trunking mode, and STP port cost settings), the two ports enter a negotiation state. PAgP supports two modes: desirable and auto. In desirable mode, the port actively sends PAgP packets to initiate bundling. In auto mode, the port listens for PAgP packets but does not initiate negotiation unless it receives one. For an EtherChannel to form, at least one side must be in desirable mode. If both sides are set to auto, no bundle forms. PAgP has an on mode that forces bundling without negotiation, but this is not recommended as it can lead to loops if misconfigured.

Once the PAgP negotiation completes, the two switches add the ports to a logical EtherChannel interface (e.g., Port-channel 1). The switch then treats this logical interface as a single link for STP, VLAN membership, and forwarding decisions. STP will see the EtherChannel as one link, preventing loops while still allowing the physical redundancy. PAgP also performs link monitoring. If a link in the bundle goes down, PAgP automatically removes it from the EtherChannel and redistributes traffic across the remaining links. This failover occurs in a few milliseconds, typically without packet loss for most applications.

PAgP has specific compatibility requirements: all ports in the bundle must be the same type (e.g., all Fast Ethernet or all Gigabit Ethernet), same speed and duplex, same native VLAN if trunking, and same allowed VLAN list on trunk ports. If any of these parameters differ, PAgP will not form the EtherChannel, even if the switches are configured identically. PAgP also interacts with Cisco's PortFast and BPDUGuard features; if BPDUGuard is enabled on a port that is part of a PAgP bundle, a rogue BPDU can disable that port, potentially breaking the EtherChannel. Network professionals must ensure consistent configurations across all member ports. PAgP supports up to eight active links per EtherChannel on most Cisco platforms, with some high-end models supporting up to 16 (with 8 active and 8 standby).

Real-Life Example

Think about a team of four delivery drivers working for a small courier company. Each driver has a van that can carry 50 packages per day. They all leave from the same warehouse but use different routes, so sometimes one van is overloaded while another comes back empty. The company realizes they can be more efficient if they pool their delivery capacity together. Instead of assigning packages to individual vans, they set up a system where all packages are placed in a central trailer that is hitched to multiple vans. Now, the trailer uses the combined pulling power of all four vans. If one van gets a flat tire, the other three can still pull the trailer without stopping the delivery flow. The whole team moves as one unit.

In networking, PAgP works the same way. Each physical Ethernet cable is like a van with a fixed capacity. By bundling them with PAgP, the switch treats them as a single trailer pulled by all cables. All data packets are distributed across the group, which gives higher overall throughput. If one cable fails (the flat tire), the other cables keep the connection alive. The network does not break-it just becomes a bit slower until the failed cable is replaced.

Now, imagine the company expands and buys new vans. If the driver of the new van does not agree on the same schedule and speed as the others, the team cannot combine their pulling power. PAgP ensures that the ports on both switches have matching settings before they join the bundle. It is like making sure all vans agree to drive at the same speed and follow the same route before hitching them together. Without this compatibility check, the bundle would not work and could cause network problems like loops or forwarding errors.

Why This Term Matters

PAgP matters because it directly addresses two fundamental network needs: bandwidth aggregation and high availability. In modern organizations, network traffic continues to grow with video conferencing, cloud applications, and large file transfers. A single 1 Gbps link might become saturated, causing slowdowns. PAgP allows you to combine four 1 Gbps links into a 4 Gbps logical pipe without replacing switches or running new fiber. This is cost-effective because you can repurpose existing cabling and ports.

Redundancy is equally critical. If a single link fails because of a bad cable or port failure, the network connection drops entirely. That can interrupt users, crash file transfers, or disrupt VoIP calls. PAgP provides automatic failover. If one of the four links dies, traffic shifts to the remaining three. The end user sees no disruption. This is essential for networks that require high uptime, such as data centers, hospital networks, or financial trading floors.

PAgP also simplifies network management. Instead of configuring each physical port individually for VLANs, trunking, and STP, you configure one Port-channel interface. The switch applies those settings to all member ports automatically. This reduces configuration errors and makes troubleshooting easier. When you need to add or replace a link, you can configure it and PAgP will integrate it into the bundle automatically if settings match.

Finally, PAgP is a foundational concept for many Cisco certification exams. Understanding how it works, how it interacts with STP, and how to troubleshoot it is frequently tested. Network professionals who master PAgP gain a deeper understanding of link aggregation in general, which prepares them to use LACP in multi-vendor environments. In short, PAgP matters because it delivers more performance, reliability, and efficiency from the hardware you already own.

How It Appears in Exam Questions

In certification exams, questions about PAgP often appear in three main patterns: scenario, configuration, and troubleshooting.

Scenario questions present a network topology and ask you to determine the best approach. For example: "A company has two Cisco switches connected by four FastEthernet links. Users are experiencing slowdowns during peak hours. The network administrator wants to increase bandwidth and provide redundancy without buying new hardware. Which solution should be implemented?" The correct answer would involve configuring PAgP or LACP EtherChannel. You might then be asked to choose the appropriate PAgP mode (desirable or auto) given that both switches are Cisco.

Configuration questions may give you a partial configuration and ask you to complete it. For instance: "Interface range GigabitEthernet1/0/1-2, channel-group 1 mode desirable. What additional configuration is needed to create the EtherChannel?" The answer might be to create the Port-channel interface (interface Port-channel1) and apply the same VLAN or trunk settings there. Some questions require you to identify which command will display PAgP neighbors: show pagp neighbor (Cisco) vs. show lacp neighbor (LACP).

Troubleshooting questions are common at the CCNP level. A typical question: "An engineer configured an EtherChannel between two Cisco switches. The show etherchannel summary command shows the channel is down. The output of show pagp neighbor shows no neighbors. What is the likely cause?" Possible answers include: one switch configured with mode auto and the other with mode auto, mismatched speed/duplex, or VLAN inconsistency. The exam might show you the configuration of both switches and ask you to identify the error. Another classic trap: a candidate configures PAgP on a port that is also running PortFast with BPDUGuard. If BPDUGuard disables the port, the EtherChannel will fail. You must know that BPDUGuard should not be used on EtherChannel member ports unless absolutely necessary and with caution.

Finally, some questions test your understanding of load balancing. You might be asked: "Which load-balancing method is used by default for PAgP EtherChannels on a Cisco switch?" The default is src-mac (source MAC address) for most switches, but it can be changed with the port-channel load-balance command. The exam may present a scenario where the traffic is not being distributed evenly and ask which method to use. Knowing that the method can be per-packet or per-flow (and that per-packet can cause out-of-order delivery) is testable.

Practise PAgP Questions

Test your understanding with exam-style practice questions.

Practise

Example Scenario

You are the network administrator for a small college campus with two Cisco switches called SwitchA and SwitchB. They are connected by two Ethernet cables, but each cable is only 1 Gbps. During peak class hours, students streaming video and doing research slow the network to a crawl. You cannot buy new switches, but you have two spare ports on each switch. You decide to cable both pairs together and use PAgP to create a 2 Gbps bundle.

You connect the four cables: two from SwitchA ports Fa0/1 and Fa0/2 to SwitchB ports Fa0/1 and Fa0/2. On SwitchA, you go into configuration mode and type: interface range fastEthernet 0/1-2, then channel-group 1 mode desirable. This tells SwitchA: "I want these two ports to form a bundle, and I will initiate the negotiation." On SwitchB, you configure the same port range with channel-group 1 mode auto. Since SwitchA is in desirable mode and SwitchB in auto, the PAgP packets are exchanged, and the switches agree to form Port-channel 1. The show etherchannel summary command on either switch now shows Port-channel 1 up with two member ports.

Now, traffic between the switches is load-balanced across both physical links. If one cable gets accidentally unplugged during cleaning, PAgP automatically removes that port from the bundle. The remaining cable carries all the traffic, so users notice only a slight slowdown instead of a complete outage. You have achieved both higher bandwidth and fault tolerance without spending a dime on new hardware. This scenario is a classic example of why PAgP appears on exams: it is a cheap, reliable solution to congestion and redundancy problems.

Common Mistakes

Configuring both switch ports in auto mode and expecting an EtherChannel to form.

PAgP requires at least one side to be in desirable mode to initiate negotiation. If both are in auto, neither sends PAgP packets, so no bundle forms.

Set one side to desirable and the other to auto, or both to desirable, to ensure negotiation happens.

Using mixed speed links (e.g., 100 Mbps and 1 Gbps) in the same EtherChannel.

PAgP requires all member ports to have identical speed and duplex settings. Mixing speeds will cause PAgP to refuse to bundle the ports.

Ensure all member ports are the same speed (e.g., all 1 Gbps) and the same duplex (full or half as appropriate).

Forgetting to configure the Port-channel interface itself with the same VLAN or trunk settings as the member ports.

The physical ports inherit their configuration from the Port-channel interface. If the Port-channel interface is left with default settings (e.g., access VLAN 1) while the member ports are configured as trunks, the bundle may not form or may cause traffic issues.

Always configure the Port-channel interface (e.g., interface Port-channel1) with the intended switchport mode (access or trunk) and VLAN settings before or after binding the physical ports.

Enabling PortFast and BPDUGuard on ports that are part of a PAgP EtherChannel.

BPDUGuard will disable a port if it receives a BPDU, which can happen in a loop condition. If BPDUGuard disables one member port, the EtherChannel becomes degraded or breaks completely, removing redundancy.

Use PortFast and BPDUGuard only on access ports connected to end devices, not on ports that are part of an EtherChannel. If you must use them, apply them to the Port-channel interface instead of individual ports.

Assuming PAgP works between a Cisco switch and a non-Cisco switch.

PAgP is a Cisco proprietary protocol. Non-Cisco switches do not understand PAgP packets, so no bundle will form. The only standard that works across vendors is LACP (IEEE 802.3ad).

When connecting to a non-Cisco switch, use LACP (mode active or passive) instead of PAgP.

Exam Trap — Don't Get Fooled

{"trap":"You see a configuration where both switches are set to 'channel-group 1 mode auto' and you think the EtherChannel will form because they are both in auto.","why_learners_choose_it":"Learners see 'auto' and think it means the switch will automatically form the bundle, not realizing that auto mode is passive-it waits for incoming PAgP packets but never sends them.","how_to_avoid_it":"Remember: PAgP auto = doesn't send PAgP packets.

PAgP desirable = sends packets. At least one side must be desirable for negotiation to start. A mnemonic: 'Auto is silent, Desirable is loud.'

Step-by-Step Breakdown

1

Identify compatible ports

Choose the physical ports on both switches that you want to bundle. They must be the same media type (e.g., all FastEthernet or all GigabitEthernet), the same speed, and the same duplex. They should also be in the same VLAN or trunk mode. PAgP will check these during negotiation.

2

Enable PAgP on the first switch

Enter interface configuration mode for the selected ports (e.g., interface range Gi1/0/1-2). Use the command 'channel-group 1 mode desirable'. This starts sending PAgP packets to the neighbor, inviting it to form an EtherChannel with group number 1.

3

Enable PAgP on the second switch

On the remote switch, configure the same set of ports with 'channel-group 1 mode auto'. The auto mode listens for PAgP packets. Since the first switch is desirable, the negotiation will proceed. You could also use desirable here, but auto is sufficient.

4

Verify PAgP negotiation

After configuration, use 'show pagp neighbor' to see if the switch has discovered the neighbor on the bundle. The output lists the neighbor's switch ID, port, and PAgP mode. Also use 'show etherchannel summary' to see if Port-channel1 is up and how many ports are active.

5

Configure the Port-channel interface

Create the logical interface (interface Port-channel1) and apply the appropriate switchport configuration: set it as access or trunk, specify the native VLAN, and add allowed VLANs. The physical ports will inherit these settings. Without this step, the EtherChannel may not pass traffic correctly.

6

Test and monitor

Ping between devices across the bundle to confirm connectivity. Use 'show interfaces port-channel 1' to see bandwidth and operational status. Monitor with 'show pagp internal' to check the PAgP state (e.g., learning, bundled). If a link fails, observe that the bundle remains up with fewer ports.

Practical Mini-Lesson

PAgP is a tool that every network administrator should understand thoroughly because link aggregation is a building block for high-performance networks. In practice, you will encounter PAgP most often when dealing with legacy Cisco access layer switches or when a network policy mandates Cisco-only protocols for consistency. The first thing a professional does when setting up a link aggregation is to verify that all physical ports have identical configurations. This means checking the speed, duplex, switchport mode (access or trunk), native VLAN (if trunking), and allowed VLAN list. A single mismatched setting will prevent PAgP from forming the EtherChannel.

When configuring, you must decide which PAgP mode to use. The safest practice is to set one switch to desirable and the other to auto. This ensures that the bundle forms even if one switch reboots or if the link goes down temporarily. Setting both to desirable also works, but it increases control traffic slightly. Never set both to auto, as the bundle will not form. Also, avoid using 'mode on' (static) because it bypasses compatibility checks; a misconfigured static bundle can create a Layer 2 loop and bring down the network.

A common real-world scenario is adding a new link to an existing EtherChannel. You connect the new cable, then configure the new ports on each switch with the same channel-group number and mode. PAgP automatically integrates them if settings match. The command 'show pagp neighbor' will show the new port in the 'learning' state briefly, then change to 'bundled'. If the port stays in 'learning' or goes to 'err-disabled', check for duplex mismatch or speed mismatch.

Troubleshooting PAgP failures requires systematic checks. First, use 'show etherchannel summary' to see if the Port-channel exists and its status. If it is down, use 'show pagp neighbor' (no output means no PAgP packets are being received). Then check the physical ports: 'show interfaces status' to see if they are up/up. Verify that the VLAN configuration on the Port-channel interface matches the physical ports. Also check for port security, BPDUGuard, or storm control that might be blocking the ports. In many exam labs, the mistake is that the candidate forgets to create the Port-channel interface or sets the wrong native VLAN.

Load balancing is another practical concern. By default, most Cisco switches use source MAC address (src-mac) for load balancing. This works well for typical traffic patterns, but if you have a single server with one MAC address, all traffic to that server will go over one link, underutilizing the bundle. You can change the load-balancing method with 'port-channel load-balance src-dst-ip' or other options. The command affects all EtherChannels on the switch, so choose carefully. Professionals often use src-dst-ip for server-facing EtherChannels to get better distribution.

Finally, consider the network design: EtherChannels are usually used between switches, between a switch and a router, or between a switch and a server. When connecting to a server, the server's network interface card (NIC) must support teaming, and you must decide to use PAgP (if the server supports it with a Cisco driver) or LACP. Most servers use LACP because it is vendor-independent. In data center environments, you will see VPC (Virtual Port Channel) on Nexus switches, which is a different technology but uses the same underlying link aggregation concepts. Mastering PAgP gives you a solid foundation for understanding these advanced features.

Memory Tip

PAgP: 'Passive and Active Group Protocol', Auto is Passive (listens only), Desirable is Active (initiates). Think: 'Desirable = Daring, sends first; Auto = Awaits, responds.'

Covered in These Exams

Current Exam Context

Current exam versions that test this topic — use these objectives when studying.

Legacy Exam Context

Older materials may mention these exam versions, but learners should use the current objectives for their target exam.

N10-008N10-009(current version)

Related Glossary Terms

Frequently Asked Questions

Can I use PAgP between a Cisco switch and a non-Cisco switch?

No. PAgP is Cisco proprietary. Non-Cisco switches do not understand PAgP packets. Use LACP (IEEE 802.3ad) for multi-vendor environments.

What is the difference between PAgP desirable and auto modes?

Desirable mode actively sends PAgP packets to initiate negotiation. Auto mode passively listens for PAgP packets and responds, but never initiates. An EtherChannel forms only if at least one side is in desirable mode.

How many links can be in a PAgP bundle?

Most Cisco switches support up to 8 active links per EtherChannel. Some models support up to 16 ports, but only 8 are active at a time; the rest are in standby mode.

What commands verify PAgP operation?

Use 'show etherchannel summary' to see Port-channel status, 'show pagp neighbor' to see PAgP peers, and 'show pagp internal' to see the state of local ports.

Will PAgP work if the ports are different speeds?

No. All ports in a PAgP bundle must have the same speed and duplex. Mismatched speeds will prevent the EtherChannel from forming.

Is PAgP still used in modern networks?

Yes, especially in existing Cisco-based networks. LACP is more common in new deployments because it is standardized, but PAgP remains on many devices and is tested on Cisco certification exams.

Summary

PAgP (Port Aggregation Protocol) is a Cisco proprietary tool that automatically bundles multiple physical Ethernet links into one logical link called an EtherChannel. It increases bandwidth by combining the capacity of several cables and provides redundancy by automatically rerouting traffic if a link fails. PAgP operates on Layer 2 and uses two modes: desirable (active, initiates negotiation) and auto (passive, responds to negotiation). It requires that all member ports have identical settings such as speed, duplex, and VLAN membership. PAgP is distinct from LACP, the industry standard, and from static EtherChannels (mode on) that lack automatic negotiation.

For exam success, you need to know the modes, the compatibility requirements, and the common troubleshooting commands like 'show etherchannel summary' and 'show pagp neighbor'. Remember that PAgP will not form a bundle if both sides are set to auto. Always check for mismatched configurations, especially when trunking and VLANs are involved. The EtherChannel must be configured on both the physical ports and the logical Port-channel interface. Practice with simulation labs to get comfortable with the configuration and verification steps.

In the real world, PAgP helps network administrators make the most of existing hardware, reduce costs, and improve network resilience. Understanding PAgP also builds a strong foundation for learning LACP and advanced data center technologies like vPC and MLAG. Whether you are studying for CCNA, CCNP, or Network+, PAgP is a term that will appear again and again. Master it now, and you will have one less thing to worry about during the exam and on the job.