Use it when one VLAN fails across a trunk that carries other VLANs fine.
Allowed VLAN mismatch
An allowed VLAN mismatch means a VLAN is allowed on one end of a trunk but not on the other, so traffic for it is dropped at that end.
1. show interfaces trunk on each trunk along the path.
2. The failing VLAN in "allowed" on both ends?
3. Missing → switchport trunk allowed vlan add <id> (with add).
4. In allowed but not in "active" → create the VLAN on that switch.
5. In active but not "forwarding" → STP blocking or VTP pruning.
both ends trunking → same native VLAN → VLAN allowed on both ends → VLAN exists on both switches → VLAN forwarding in STP → frames tagged and delivered
Compare both ends/every hop, restore the intended VLAN list safely, then verify STP/MAC/gateway.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show interfaces trunkShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
How to read the output
show interfaces trunkLook first: trunk status, native VLAN, allowed/active/forwarding VLAN lists
Healthy: Expected trunk is up and VLAN is allowed, active and forwarding.
Warning: VLAN missing from any stage, native mismatch or non-trunk interface.
Does not prove: VLAN allowed on trunk does not prove endpoint MAC/L3 reachability.
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 the target VLAN is intentionally allowed and operationally forwarding on both sides, MAC learning is consistent, and original host traffic succeeds. Broken state is asymmetric omission or pruning of the affected VLAN. The limit of what it shows: presence in the configured allowed list does not show VLAN existence, STP forwarding or endpoint reachability. Use operational trunk output and the same VLAN-specific workload for closure.
Step 2 Native failure isolation and next-check logic Narrow the fault
Identify the exact failing VLAN, compare allowed/active/forwarding lists on both peers, and confirm the VLAN exists locally. If the VLAN is absent from one allowed list, correct the intended side only after checking whether pruning is deliberate. If it is allowed on both ends but not forwarding, inspect STP state and port-channel consistency. If Layer-2 forwarding is healthy, follow MAC learning and then L3. Avoid broad all changes that hide the specific policy mismatch.
Step 3 Common mistakes Narrow the fault
switchport trunk allowed vlan 30replacing the list instead ofadd 30.- VLAN allowed but pruned.
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.
Follow the failing VLAN hop by hop through every trunk. A common cause is switchport trunk allowed vlan <id> typed without add, which replaced the whole list. Allowed is not enough: the VLAN must also be active (created) and forwarding.
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
Allowed-VLAN lists are an explicit per-trunk filter applied after the port becomes a trunk. Two peers can both report trunking while one side omits a required VLAN, creating asymmetric reachability or silent one-way failures. VLAN existence and STP forwarding are separate prerequisites: a VLAN can be allowed yet absent/inactive or blocked. Effective forwarding should be read from operational trunk output, not only running configuration.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Allowed VLAN mismatch: the trunk is up, but one VLAN doesn't pass
A trunk only carries VLANs that are allowed on both ends, created on both switches and forwarding in spanning tree. The Catalyst 9300 trunk guide states that all VLANs (1–4094) are allowed by default. Once someone sets an explicit list, a VLAN missing from either end is dropped silently. No error message announces it.
C9300-A# show interfaces Te1/1/1 trunk
Port Vlans allowed on trunk
Te1/1/1 10,20,30,40,99
Port Vlans allowed and active in management domain
Te1/1/1 10,20,30,40,99
Port Vlans in spanning tree forwarding state and not pruned
Te1/1/1 10,20,30,40,99
C9300-B# show interfaces Te1/1/1 trunk
Port Vlans allowed on trunk
Te1/1/1 10,20,30,99
VLAN 40 is allowed on A but not on B, so hosts in VLAN 40 on the two switches can't reach each other.
The three VLAN lists
| List | A VLAN is missing because |
|---|---|
| Allowed on trunk | Not in switchport trunk allowed vlan |
| Allowed and active in management domain | VLAN not created on this switch (show vlan brief) |
| Forwarding and not pruned | STP blocking, or VTP pruning |
Safe editing of allowed lists
| Command | Effect |
|---|---|
switchport trunk allowed vlan add 40 | Adds VLAN 40 and keeps the rest |
switchport trunk allowed vlan remove 40 | Removes only VLAN 40 |
switchport trunk allowed vlan 40 | Replaces the whole list with VLAN 40 alone |
Forgetting add is a classic outage: every other VLAN on the trunk is dropped instantly.
Troubleshooting routine
1. On both switches, show interfaces <trunk> trunk and compare the three lists.
2. show vlan id 40 on both switches to confirm the VLAN exists.
3. show spanning-tree vlan 40 to see the port role and state on the trunk.
4. Repeat for every trunk in the path, for example access → distribution → access.
Documented example, not captured output.
Quick reference
A trunk only carries the VLANs in its allowed list, and the list on both ends must include every VLAN that should pass. When one switch in a chain is missing a VLAN, devices in that VLAN can talk locally but not across that link, which makes the fault appear far away from its actual cause.
Allowed VLAN mismatch: a VLAN is missing from the allowed list on one side, so it works between some switches but not end to end.
show interfaces trunk
! compare 'Vlans allowed on trunk', 'allowed and active', 'in spanning tree forwarding state and not pruned'
interface Te1/1/1
switchport trunk allowed vlan add 30 ! 'add' — without it the list is replaced!
The classic outage: switchport trunk allowed vlan 30 without add removes every other VLAN from the trunk. Also check the VLAN exists on each switch (show vlan brief) and is not pruned (VTP).
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 → Allowed VLAN 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%