Why is the second cable not forwarding?
One 1 Gbps link between two switches is too slow, so you add a second. Spanning Tree sees a loop and blocks one for the same VLAN's tree. The spare path protects against a failure, but it does not add forwarding capacity for that tree in its current form.
Our example uses SW1 and SW2 with two direct cables: Gi1/0/23 to Gi1/0/23, and Gi1/0/24 to Gi1/0/24. Each link runs at 1 Gbps, full duplex. We want VLANs 10 and 20 to cross the link. Those VLANs are separate Layer 2 broadcast domains; a trunk carries more than one VLAN over a switch connection. The cable port names are interfaces, not TCP or UDP port numbers.
Device key: SW1, SW2 (switch)
Lines show the example’s network connections. The coloured path and envelope follow the current step; its text identifies the sender, receiver and traffic type. Blocked: forwarding prevented by a port or policy. Down: failed link. Read the step for the cause.
- 1. Half the capacity idle. STP blocks the second link to prevent a loop between the two switches.
EtherChannel: many links, one logical link
EtherChannel combines compatible physical links into one logical interface, a port-channel. Spanning Tree sees a single logical port, not separate parallel links. A forwarding bundle can use its active members. After a member fails, traffic can move to the remaining links while the bundle meets its minimum-link requirement. Its path cost may change.
EtherChannel is Cisco's name for grouping these compatible links. The resulting logical interface is Port-channel1, often shortened to Po1. The physical interfaces are its members. Both ends must agree which members belong to the same logical connection. Ordinary aggregation does not combine cables to two unrelated switches; multi-chassis designs need explicit supported technology.
Device key: SW1, SW2 (switch)
Lines show the example’s network connections. The coloured path and envelope follow the current step; its text identifies the sender, receiver and traffic type.
- 1. Flows are spread across members. The switch hashes each flow's addresses to choose a member link; flow A uses one link…
- 2. Flow B can use the other link. The hash may choose another member, but different flows can also collide onto the same member. Equal sharing is not guaranteed.
- 3. A member fails: the bundle stays up. Traffic is redistributed if enough members remain active. A configured minimum-link threshold can take the bundle down; STP may see a changed path cost.
Two 1 Gbps members provide up to 2 Gbps of aggregate capacity in each direction, not a guaranteed 2 Gbps for one transfer. Ordinary EtherChannel assigns a traffic conversation to one member to preserve ordering. Actual throughput is lower than line rate once overhead and other bottlenecks are included.
A hash turns selected address or transport-port fields into a member choice. What we casually call a flow depends on those selected fields. With source-and-destination IP hashing, several TCP connections between the same two IP addresses can use the same member. Other supported algorithms can include TCP/UDP ports. Different conversations can also choose the same member, so a quiet link is not proof that LACP failed.
Negotiation: LACP, PAgP or static
LACP (Link Aggregation Control Protocol) is the standards-based negotiation protocol. PAgP (Port Aggregation Protocol) is Cisco-specific. They help discover whether compatible links reach the expected aggregation partner. Static on skips that negotiation, so a one-sided mistake can be more disruptive.
| Protocol | Modes | Forms a channel when |
|---|---|---|
| LACP (IEEE 802.3ad / 802.1AX) | active, passive | active + active, or active + passive (passive + passive never starts) |
| PAgP (Cisco) | desirable, auto | desirable + desirable, or desirable + auto |
| Static | on | on + on only; no negotiation and no check of the far end |
Use LACP: it's the standard, works with other vendors and servers, and checks the far end is really part of the same bundle. Member limits depend on the platform. A common Catalyst limit is 16 configured LACP members, with up to 8 active and the rest in hot standby; confirm your switch model's limit.
Link aggregation was originally standardised through IEEE 802.3ad and is maintained in IEEE 802.1AX. For this new lab we use LACP active at both ends. Passive means answer negotiation rather than initiate it; it does not mean a successfully bundled member cannot forward user traffic.
What every member link must share
Every member link must have the same:
- speed and duplex,
- switchport mode (access or trunk),
- access VLAN, or allowed VLANs and native VLAN on a trunk.
An incompatible port can be rejected or suspended; the precise state and log depend on the platform and mismatch. Compare both local members and both ends of the link. An allowed-VLAN difference across the two switches may cause missing VLAN traffic even when the bundle appears up, so membership is not the only consistency check.
Bundling Gi1/0/23 and Gi1/0/24
Use an isolated Cisco Catalyst IOS XE 17.x-style lab with these ports unused, matching and cabled as described. Start in global configuration mode after configure terminal. Configure both ends while the member ports are administratively shut, then enable the members after both configurations match. Existing production ports may carry additional settings that this small example does not address.
vlan 10
vlan 20
exit
interface range GigabitEthernet1/0/23 - 24
shutdown
switchport
switchport mode trunk
switchport trunk allowed vlan 10,20
channel-group 1 mode active
interface Port-channel1
switchport mode trunk
switchport trunk allowed vlan 10,20
no shutdownOn both switches. Create the VLANs and compatible trunk members, then add them to LACP group 1. The port-channel carries VLANs 10 and 20; member ports remain shut until both ends are ready. The default native VLAN 1 matches at both ends.
interface range GigabitEthernet1/0/23 - 24
no shutdownOn both switches after checking the matching configurations. This enables the physical members so LACP can negotiate. Use the Port-channel interface for later shared trunk changes, following the platform's consistency rules.
port-channel load-balance src-dst-ipSeparate optional global-configuration experiment on a supporting IOS XE platform: select source-and-destination IP hashing. This can affect all port-channels on the switch; inspect show etherchannel load-balance first. It is not required to form LACP, and a better distribution depends on the actual traffic.
Checking that the bundle formed
SW1#show etherchannel summary Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator ... Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(SU) LACP Gi1/0/23(P) Gi1/0/24(P)
show lacp neighbor, interface configuration and logs to establish the cause.show etherchannel load-balanceWhich fields the hash uses.
Also run show interfaces Port-channel1 trunk and show spanning-tree vlan 10. Check that the intended VLANs are allowed, active and forwarding across Po1. Use show lacp neighbor to inspect the partner system and member relationships. A numeric IP address is not needed on a Layer 2 trunk to negotiate LACP.
Layer 3 EtherChannel
Between two Layer 3 switches, or a switch and a router, the bundle can be a routed link instead of a trunk. The member ports and the port-channel are made routed ports with no switchport, and the IP address goes on the Port-channel interface, not on the members.
This is a separate alternative using unused Gi1/0/21 and Gi1/0/22, not a command to put the existing Po1 members into a second group. Use a lab platform and licence that support routed EtherChannels. Both members connect to the matching ports of the same peer; use 10.0.12.1/30 on SW1 and 10.0.12.2/30 on SW2.
interface range GigabitEthernet1/0/21 - 22
no switchport
channel-group 2 mode active
no shutdown
interface Port-channel2
no switchport
ip address 10.0.12.1 255.255.255.252
no shutdownOn a Layer 3 switch (ip routing enabled). Configure the members as routed ports before bundling them; the other end gets 10.0.12.2/30. In show etherchannel summary the bundle shows as Po2(RU): R for Layer 3, U for in use.
The /30 address belongs to the logical routed interface only. A Layer 3 port-channel is not a VLAN trunk and does not use STP for that routed connection. Test peer IP reachability and the routing table separately from LACP membership.
Fail one member, then restore it
Return to the Layer 2 Po1 lab. Put two test hosts in the same carried VLAN on opposite switches, for example 192.168.10.10/24 and 192.168.10.20/24 in VLAN 10. Give their access ports VLAN 10 and verify the healthy ping before changing anything.
- Record Po1(SU), two P members and the VLAN 10 STP state. Run a continuous lab ping between the hosts.
- On SW1 Gi1/0/24 only, apply
shutdown. With one active member and no higher minimum-link requirement, Po1 should remain up and traffic can move to the remaining member. Some packets may be lost during the change. - Restore with
no shutdown. Verify both P members return and inspect interface counters across several distinct host conversations. Do not expect one ping stream to prove equal sharing.
Test yourself on EtherChannel
Both ends of a link bundle are set to LACP passive. What happens?
Po1 shows two P members, but a single TCP transfer is below 1 Gbps on two 1 Gbps links. Which explanation fits normal EtherChannel behaviour?
One member shows (s) in show etherchannel summary. What's the likely cause?
Cisco reference
Cisco: EtherChannel configuration and minimum links
IEEE 802.1AX link aggregation. These configurations and outputs are written teaching examples, not results from a tested switch image.