Layer 2 EtherChannel
Cheat sheet · https://pcornel.dk/topic.php?topic=602
Answer
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.
Remember
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.
First checks
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
Commands
switchport- Make the interface a Layer 2 switch port.
switchport mode access- Make the port a static access port.
switchport mode trunk- Make the port a static trunk.
show interfaces switchportshow spanning-tree
Verify in this order
members configured → bundle → Port-channel → STP single port
Where it usually breaks
physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path
Layer 2 EtherChannel consistency
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=602