Use it when only one VLAN works across a switch-to-switch link, or traffic lands in an unexpected VLAN.
Access/trunk mode mismatch
An access/trunk mode mismatch means one end is a trunk and the other is an access port. The trunk side sends tagged frames the access side does not expect; only untagged native-VLAN traffic gets through, into the access port's VLAN.
1. show interfaces <if> switchport on both ends — Operational Mode trunk on both?
2. One side access → decide the design, then set both ends to trunk (or both access).
3. Dynamic modes → DTP may have chosen access; use static modes.
4. show interfaces trunk on both ends — now listed.
5. Test all VLANs across the link.
both ends trunking → same native VLAN → VLAN allowed on both ends → VLAN exists on both switches → VLAN forwarding in STP → frames tagged and delivered
Confirm design, make both ends intentionally compatible, then verify trunk/native/allowed VLAN state.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show interfaces <interface> switchportShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
How to read the output
show interfaces <interface> switchportLook first: line/protocol state, errors/discards, rate, duplex/speed, last input/output
Healthy: State and counters align with expected traffic and physical conditions.
Warning: CRC/input errors, drops, resets, queue drops or unexpected negotiation.
Does not prove: An interface counter is a symptom until correlated with path/time/workload.
Verification & 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 Known-good, broken and when it is fixed Verify boundary
Known-good means both ends implement the intended access or trunk role, with compatible VLAN parameters and successful original traffic. Broken evidence is an actual operational mode disagreement or unintended negotiated state. The limit of what it shows: changing both ends to trunk or access shows role alignment only, but it does not show correct VLAN membership, STP forwarding or L3 service. Read back operational mode and rerun the same endpoint/VLAN test.
Step 2 Native failure isolation and next-check logic Narrow the fault
Read administrative and operational switchport mode on both peers. Determine whether the link is switch-to-switch, AP/server trunk or endpoint access, then compare expected design. If DTP is enabled, inspect negotiation before changing static modes. If one side is access and the other trunk, identify any native/access VLAN coincidence that could explain partial success. After aligning mode, verify native/allowed VLANs and STP because mode correction can expose a second fault.
Step 3 Common mistakes Narrow the fault
- Port stuck in access because DTP is disabled on the peer.
- Static trunk on one side, access on the other.
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.
Check operational mode on both ends before VLAN lists. A trunk facing an access port works only for the native VLAN, and only if it matches the access VLAN. STP may block the port as inconsistent.
show interfaces trunk— trunk ports, mode, encapsulation, native VLAN, allowed / active / forwarding VLANs.show interfaces <if> switchport— administrative and operational mode, negotiation, native VLAN.show dtp interface <if>— DTP state and negotiation.show spanning-tree interface <if>— per-VLAN STP state on the trunk.show cdp neighbors <if> detail— the neighbour's port, and native VLAN mismatch messages.
ReferenceHow it works1 section · depth on demand
How it works
An access/trunk mode mismatch creates different frame expectations at each end: one side sends/accepts untagged access traffic while the other expects 802.1Q tagging for most VLANs. Depending on native VLAN choices, some traffic may appear to work, which makes the fault deceptive. Administrative mode, operational mode, DTP negotiation and endpoint/switch topology intent must all be reconciled; interface up/up only shows Layer-1/line protocol.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Access/trunk mismatch: one side tags frames, the other doesn't expect tags
If one end of a link is a trunk and the other an access port, tagged frames from the trunk side arrive at an access port. The Catalyst 9300 trunk guide's mode rules show that any combination with access results in no trunk. The guide describes trunk mode as forming a trunk even if the neighbour isn't one, and access mode as staying non-trunking even if the neighbour is a trunk.
C9300-A# show interfaces Gi1/0/48 switchport | include Administrative Mode|Operational Mode
Administrative Mode: trunk
Operational Mode: trunk
C9300-B# show interfaces Gi1/0/48 switchport | include Administrative Mode|Operational Mode
Administrative Mode: static access
Operational Mode: static access
C9300-B# show logging | include DTP|NATIVE|PVID
What happens to traffic
| Frames sent by the trunk side | Result on the access side |
|---|---|
| Native VLAN (untagged) | Accepted into the access VLAN; works by accident |
| Tagged VLANs | Usually dropped, or handled inconsistently |
| STP BPDUs per VLAN (PVST+) | Can trigger inconsistencies and blocked ports |
The symptom is often confusing: one VLAN (the native one) works across the link, and all others fail.
Diagnosis
| Check | Command |
|---|---|
| Mode on both ends | show interfaces <id> switchport |
| Trunk list | show interfaces trunk; the port appears on one side only |
| Neighbour identity | show cdp neighbors <id> detail (is it the device you expect?) |
| Spanning-tree state | show spanning-tree interface <id> |
Fix and prevention
Decide what the link should be and configure both ends the same:
! switch-to-switch link
C9300-B(config)# interface Gi1/0/48
C9300-B(config-if)# switchport mode trunk
C9300-B(config-if)# switchport nonegotiate
C9300-B(config-if)# switchport trunk native vlan 99
C9300-B(config-if)# switchport trunk allowed vlan 10,20,30,99
Use port descriptions with the neighbour name and port, and configure uplinks from a template. Most mismatches come from a cable moved to the wrong port.
Documented example, not captured output.
Quick reference
A link where one side is configured as a trunk and the other as an access port works only partially: the access side treats tagged frames as invalid, so typically only the native VLAN gets through. The symptom is that some VLANs work and others do not on the same cable.
Access/trunk mode mismatch: one side trunk, the other access. The access side treats tagged frames as garbage (or the native VLAN only works), causing partial connectivity.
show interfaces Gi1/0/48 switchport | include Mode
show interfaces status | include Gi1/0/48
%SPANTREE-7-RECV_1Q_NON_TRUNK / %SPANTREE-2-BLOCK_PVID_LOCAL messages
Fix by configuring both ends consistently (switchport mode trunk + matching allowed/native VLANs). STP may put the port into a PVID-inconsistent state to protect against loops until fixed.
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 → 802.1Q Trunking → Trunk Troubleshooting → Access/trunk mode mismatch. 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%