Switches running PAgP are classified as either physical learners or aggregate learners. These two device types are described in the following sub-sections.
PAgP Physical Learners
PAgP physical learners are switches that learn MAC addresses using the physical ports within the EtherChannel instead of via the logical EtherChannel link. Physical learners forward traffic to addresses based on the physical port via which the address was learned. In other words, the switch will send packets to the neighboring switch using the same port in the EtherChannel from which it learned the source address. Figure 5-4 below illustrates a switch using physical learning in a three-port EtherChannel:

Fig. 5-4. PAgP Physical Learning
PAgP Aggregate (Logical) Learners
Unlike a physical learner, an aggregate learner learns addresses based on the aggregate or logical EtherChannel port. This allows the switch to transmit packets to the source by using any of the interfaces in the EtherChannel. Aggregate learning is the default in current Cisco IOS switches. However, it should be noted that legacy switches, such as the Catalyst 1900 series switches, support only physical learning.
By default, PAgP is not able to detect whether a neighboring switch is a physical learner. Therefore, when configuring PAgP EtherChannels on switches that support only physical learning, the learning method must be manually set to physical learning. In addition to this, it is important to set the load-distribution method to source-based distribution so that any given source MAC address is always sent on the same physical port. The different EtherChannel load-distribution methods will be described in detail later in this chapter. Figure 5-5 below illustrates logical learning:

Fig. 5-5. PAgP Logical Learning
The following output shows the MAC entries in the CAM on a device performing aggregate learning:
| Switch-1#show mac-address-table Mac Address Table ——————————————-Vlan Mac Address Type Ports —- ———– ——– —– … [Truncated Output] … 10 0014.a9e5.d640 DYNAMIC Po1 10 001d.09d4.0238 DYNAMIC Po1 10 0014.a9e5.d641 DYNAMIC Po1 10 0014.a9e5.d642 DYNAMIC Po1 10 0014.a9e5.d643 DYNAMIC Po1 Total Mac Addresses for this criterion: 9 |