Use it when a bundle is up but only some VLANs fail, STP shows unexpected logical roles, or physical member configuration differs from the Port-Channel.
Layer 2 EtherChannel
Layer 2 EtherChannel presents multiple physical switchports as one logical Port-Channel. VLAN and STP semantics belong primarily to the logical interface, while members must be compatible.
1. L2 EtherChannel bundles switchports into one logical link for STP.
2. Members must share trunk/access, VLANs, native VLAN.
3. Configure on the Po interface.
4. Load balancing per flow.
5. Mismatches suspend members.
members configured → bundle → Port-channel → STP single port
Continue with show interfaces switchport, trunk/VLAN and STP/MAC evidence instead of changing EtherChannel.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
switchportPrimary Commands
Configuration and operational commands for this Topic.
switchportReferenceMake the interface a Layer 2 switch port.
Use when: Use before access/trunk switchport commands on an interface that may otherwise be routed.
Quick note: Verify platform support and intended port role before use.
Cisco IOS / IOS XE · mixedswitchport mode accessReferenceMake the port a static access port.
Use when: Make an endpoint-facing port a predictable non-trunking access port.
Quick note: Pair with switchport access vlan <id> and verify operational mode.
switchport mode trunkReferenceMake the port a static trunk.
Use when: Make an infrastructure link carry multiple VLANs using trunking without relying on dynamic mode selection.
Quick note: Verify operational trunk plus allowed/native VLANs after change.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
Confirm all intended members are bundled and the protocol/static mode matches the peer. Then move to the logical Port-Channel: verify access versus trunk mode, native VLAN and allowed VLAN list on both sides. For the failing VLAN, inspect STP on the Port-Channel and confirm it is forwarding where expected. Generate at least two flows with differing hash inputs and check member counters to expose a single bad physical path. Validate MAC learning across the logical link and test a known-good adjacent VLAN so remediation does not unintentionally widen or prune trunk scope.
Step 2 Verification and output interpretation Verify boundary
Use EtherChannel summary to confirm the logical port-channel is Layer 2 and each intended member is bundled. Inspect the port-channel's switchport/trunk state and show spanning-tree to confirm STP sees the logical interface in the expected role/state. Member counters can verify traffic distribution and identify a dead member, while the aggregate interface gives the logical view. A port-channel up with one suspended member is degraded, not equivalent to full-capacity healthy state. If only one VLAN fails, inspect trunk/VLAN/STP state rather than assuming the aggregation protocol is at fault.
Step 3 Verification & troubleshooting Narrow the fault
Verify bundle state first, then show interfaces switchport, trunk/VLAN state and STP on the Port-Channel. A healthy channel does not show the correct VLANs are carried.
Step 4 Failure signatures and troubleshooting branches Narrow the fault
If the Port-Channel is down, remain at member/protocol compatibility. If it is up but one VLAN fails, focus on logical trunk/access state, VLAN existence and STP rather than LACP. If only certain flows fail, suspect a bad member or asymmetric peer membership because hashing can make the symptom selective. Configuring switchport attributes directly on individual members while the logical interface owns policy can create drift or rejection depending on platform. Do not treat “Po1 up” as evidence that every VLAN and every member forwards correctly.
Step 5 When the problem is really fixed Narrow the fault
Re-run the original VLAN flow through the Port-Channel, verify MAC learning and STP state, and ensure multiple hash outcomes succeed. Remove one member and confirm Layer-2 connectivity persists as designed, then restore it and verify clean rejoin. Check a neighboring VLAN’s allowed/native behavior for regression. Actual packet/counter output is runtime Evidence only if captured; the Topic provides the Layer-2 verification chain.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Bundle-up is not VLAN proof. Native VLAN, allowed VLANs, access VLAN and trunk mode must match peer design, and STP acts on the logical Port-Channel.
show etherchannel summary— Layer2 Po, SU flagsshow interfaces port-channel <n> switchport— trunk/access configshow spanning-tree interface port-channel <n>— STP sees one logical port
ReferenceWhat it is1 section · depth on demand
What it is
A Layer 2 EtherChannel is a switched Port-Channel carrying access or trunk traffic. Spanning tree sees the Port-Channel as the logical Layer 2 path.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Use it to aggregate switch links while preserving VLAN switching semantics and reducing multiple physical links to one STP logical interface.
ReferenceImportant terms & boundaries6 sections · depth on demand
Key points
All members must be compatible for switchport mode and relevant VLAN/trunk properties. Configure the intended Layer 2 behavior consistently, preferably on the Port-Channel according to platform practice.
In depth
Layer 2 EtherChannel: a bundled access or trunk port
A Layer 2 EtherChannel behaves like one switchport. The VLAN, trunk and spanning-tree configuration belongs on the port-channel interface, and the members follow it. The Catalyst 9300 EtherChannel guide says members must be in the same VLAN or all be trunks with matching native VLAN and allowed VLANs.
C9300(config)# interface range TenGigabitEthernet1/1/1 , TenGigabitEthernet2/1/1
C9300(config-if-range)# channel-group 10 mode active
C9300(config)# interface Port-channel10
C9300(config-if)# switchport mode trunk
C9300(config-if)# switchport trunk native vlan 999
C9300(config-if)# switchport trunk allowed vlan 10,20,30
C9300# show interfaces Port-channel10 trunk
Port Mode Encapsulation Status Native vlan
Po10 on 802.1q trunking 999
Port Vlans allowed on trunk
Po10 10,20,30
C9300# show spanning-tree interface Port-channel10
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- ---------
VLAN0010 Desg FWD 1 128.2081 P2p
Spanning tree runs on Po10 as one port, with a lower cost than a single member.
Documented guidelines
| Guideline | Detail |
|---|---|
| Settings from the first member | Allowed VLANs, per-VLAN path cost and port priority, and PortFast follow the first port added; change them on all members |
| One group per port | A port belongs to only one channel |
| 802.1X | Not on members |
| Auto-LAG | Creates LACP channels automatically, Layer 2 only (port-channel auto) |
Practice
- Configure the port-channel interface, not the members, after the channel forms. Changes propagate to members.
- Use cross-stack members (one link per stack member) so a switch failure leaves the channel up.
- Keep the native VLAN identical at both ends; a mismatch causes CDP warnings and VLAN leaking.
Documented example, not captured output.
Quick reference
A Layer 2 EtherChannel bundles switch ports into one logical switchport (access or trunk). Spanning tree sees the bundle as a single link, so all members forward instead of all but one being blocked.
interface range Gi1/0/1 - 2
switchport mode trunk
channel-group 1 mode active
interface Port-channel1
switchport mode trunk
switchport trunk allowed vlan 10,20,30
Documented example, not captured output.
Member ports must share speed, duplex, mode, native and allowed VLANs; configure Layer 2 settings on the Port-channel interface so they apply to all members.
Mechanics and state ownership
In a Layer 2 EtherChannel, the switch aggregates physical Ethernet links into a logical switchport. Frames are assigned to members using a load-distribution hash, but control-plane features such as STP reason about the Port-Channel as a single logical link. The Port-Channel can operate as an access or 802.1Q trunk interface, and member configuration must be compatible with that logical mode. A bundle can therefore be operational at the EtherChannel layer while one VLAN is missing because the allowed list, native VLAN or peer trunk configuration is wrong. Physical-member counters reflect hash outcomes rather than separate independent paths. This section is authored reference guidance for Layer 2 EtherChannel in the EtherChannel context.
State model and protocol mechanics
In a Layer-2 EtherChannel, physical Ethernet links form one logical port-channel that participates in switching. The port-channel can operate as an access link or, more commonly between infrastructure devices, as an 802.1Q trunk. STP treats the bundle as one logical path, preventing individual members from appearing as parallel Layer-2 loops. VLAN allowance, native VLAN and switching policy belong to the logical interface, while member links provide physical capacity. A hashing function based on fields such as source/destination MAC or IP selects a member for each flow. If one member fails, the port-channel can remain operational with reduced capacity as long as sufficient members remain bundled.
Limits and common misconceptions
A Layer-2 EtherChannel does not create one giant per-flow link; a single conversation is normally constrained by one member's capacity. STP forwarding on the port-channel does not show every VLAN is allowed or active. All physical members being up does not show they are bundled. Likewise, a healthy bundle does not validate endpoint VLAN membership beyond it. Separate member eligibility, logical port-channel state, VLAN policy, STP state and traffic hashing. A bundle can therefore be operational yet still provide only partial service if a required VLAN is pruned or if the logical interface is blocked for that VLAN by spanning tree.
ReferenceConfiguration & state2 sections · depth on demand
Layer 2 bundle baseline
For a switched EtherChannel, keep member switchport characteristics compatible and place access/trunk VLAN intent on the logical Port-Channel according to platform practice. Verify both the bundle and VLAN/STP state; they are separate limits of what the checks show.
Design and configuration model
Build member interfaces with compatible physical and Layer-2 settings, join them to the same channel-group using the intended negotiation mode, then apply access/trunk/VLAN policy consistently to the port-channel. Ensure both endpoints form the same logical bundle and that every member connects to the same peer/stacking domain supported by the design. Choose the load-balance algorithm based on traffic diversity where the platform permits it, but do not expect perfect utilization. Coordinate STP root/path design at the port-channel level, not on individual members.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Switching → EtherChannel → Layer 2 EtherChannel. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Layer 2 EtherChannel consistency
Configuration areas that must be reasoned about together
| Area | What should be consistent |
|---|---|
| switchport role | access vs trunk intent |
| access VLAN | same intended access VLAN where applicable |
| trunk native VLAN | peer/end-to-end trunk design |
| allowed VLANs | required VLANs carried consistently |
| physical characteristics | compatible speed/duplex/member type |
| STP | evaluate the Port-Channel as the logical path |
Layer 2 EtherChannel · operational reference
Compact state and interpretation boundaries for fast lookup.
| L2 EtherChannel layer | Evidence |
|---|---|
| Members | Bundled/eligible |
| Port-channel | Logical interface up |
| VLAN policy | Access/trunk state |
| STP | One logical forwarding path |
Layer 2 EtherChannel operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Check | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Bundle | All expected members selected | Individual/suspended member | EtherChannel |
| Switchport mode | Correct access/trunk | Mode mismatch | L2 config |
| VLAN scope | Native/allowed/access correct | Single VLAN absent | 802.1Q |
| STP | Po forwarding/role expected | Blocked/inconsistent | STP |
| Hash paths | Multiple flows succeed | Selective member failure | Physical link |