Use it when a VLAN works on some switches but not across the campus, or when reviewing trunk design and hardening.
Campus VLANs & Trunking
Campus VLANs and trunking at ENCOR level: VLANs on every switch, 802.1Q trunks with a matching native VLAN and pruned allowed lists, static trunk modes instead of DTP, and Layer 2 kept inside each distribution block.
1. show interfaces trunk on both switches — port listed as trunking?
2. Native VLAN the same on both ends?
3. VLAN in "allowed", "allowed and active" and "forwarding" on both ends?
4. Missing in "active" → VLAN not created on that switch. Missing in "forwarding" → STP blocking or VTP pruning.
5. show interfaces <if> switchport — not negotiated into access mode?
both ends trunking → same native VLAN → VLAN allowed on both ends → VLAN exists on both switches → VLAN forwarding in STP → frames tagged and delivered
Hosts on one switch reach each other, but not hosts in the same VLAN on another switch.
Possible stored cause: The VLAN is missing on a switch in the path or is not allowed/forwarding on an inter-switch trunk.Context & applicabilityCommon mistakes · platform/version boundaries
Path: Networking → Infrastructure → Campus VLANs & Trunking. Local intent: ENCOR-level VLAN/trunk troubleshooting, native VLAN, allowed VLAN sets and end-to-end Layer 2 path consistency.
Operational reference
Fast context before you go deeper.
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.
Hosts on one switch reach each other, but not hosts in the same VLAN on another switch.
Step 1 Verification & evidence Verify boundary
show vlan brief; show interfaces trunk; show interfaces switchport; trace VLAN allowance end to end.
Step 2 Common failure modes Narrow the fault
VLAN missing, wrong access VLAN, VLAN pruned/not allowed, native mismatch or port not operating as trunk.
Step 3 Troubleshooting workflow Narrow the fault
Focus for this topic: VLAN missing, wrong access VLAN, VLAN pruned/not allowed, native mismatch or port not operating as trunk.
Step 4 Evidence-first troubleshooting Narrow the fault
When forwarding or policy looks correct in configuration but behaves unexpectedly, distinguish control/configuration intent from hardware programming/capacity. Verify the relevant MAC/CEF/ACL state before assuming the hardware table is the cause.
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.
A VLAN crosses a trunk only if it exists on both switches, is allowed on both ends and forwards in STP — show interfaces trunk lists allowed, active and forwarding separately. Use switchport mode trunk + switchport nonegotiate, an unused native VLAN, and switchport trunk allowed vlan add (never without add on a live trunk).
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.
ReferenceWhat it is1 section · depth on demand
Concept overview
ENCOR-level VLAN/trunk troubleshooting, native VLAN, allowed VLAN sets and end-to-end Layer 2 path consistency.
Key ideas: Access ports classify untagged endpoint traffic into VLANs; trunks carry multiple VLANs with 802.1Q tags except native-VLAN behavior.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Access ports classify untagged endpoint traffic into VLANs; trunks carry multiple VLANs with 802.1Q tags except native-VLAN behavior.
ReferenceHow it works2 sections · depth on demand
How it works
An access frame enters a VLAN, the switch learns source MAC state, and inter-switch links must carry that VLAN with correct 802.1Q/native behavior. Spanning tree then decides which Layer-2 links can forward. A gateway or routed SVI is a separate Layer-3 boundary.
Mechanism, scope & boundaries
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Campus VLAN and trunk design
VLANs separate broadcast domains, and trunks carry several VLANs between switches with 802.1Q tags. Cisco's campus design guide (CVD) shapes how far they should stretch. In traditional Layer 2 multilayer designs, spanning tree blocks redundant links and an FHRP provides the gateway. The guide recommends restricting a VLAN to a single access switch to avoid loops. Routed access goes further and keeps every Layer 2 domain inside one closet. A simplified distribution layer (a stack or StackWise Virtual pair) allows dual-homed EtherChannel trunks with no blocked links.
VLAN design choices (CVD)
| Design | VLAN span | Trunks |
|---|---|---|
| VLAN per access switch | One closet | Access to the distribution pair only |
| VLANs spanning closets | Several access switches | Loops are possible; STP blocks links |
| Routed access | One switch; no trunks to the distribution layer | Routed uplinks |
| Simplified distribution | Access to a logical distribution switch | One EtherChannel trunk per access switch |
Trunk settings that must match
| Setting | If it doesn't match |
|---|---|
| Allowed VLAN list | The VLAN works on one side only; traffic for it is dropped |
| Native VLAN | Untagged frames land in different VLANs; CDP reports the mismatch |
| Encapsulation and mode | The trunk doesn't form (DTP) |
| VLAN existence on both switches | Frames for that VLAN are dropped |
acc1(config)# vlan 110
acc1(config-vlan)# name USERS-2F
acc1(config)# interface TenGigabitEthernet1/1/1
acc1(config-if)# switchport mode trunk
acc1(config-if)# switchport nonegotiate
acc1(config-if)# switchport trunk native vlan 999
acc1(config-if)# switchport trunk allowed vlan 110,120,999
acc1# show interfaces trunk
Port Mode Encapsulation Status Native vlan
Te1/1/1 on 802.1q trunking 999
Port Vlans allowed and active in management domain
Te1/1/1 110,120,999
Port Vlans in spanning tree forwarding state and not pruned
Te1/1/1 110,120,999
acc1# show vlan brief
Reading show interfaces trunk
The three VLAN lists answer different questions:
1. Which VLANs are configured as allowed.
2. Which of them exist and are active on this switch.
3. Which are forwarding in spanning tree and not pruned.
A VLAN missing from the third list doesn't pass, even though it's allowed.
Hardening
Turn off DTP (switchport nonegotiate), use an unused native VLAN, allow only the VLANs that are needed, and put access ports explicitly in access mode. All of this limits VLAN-hopping attacks and accidental trunks.
Documented example, not captured output.
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 Infrastructure → Campus VLANs & Trunking. 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%Deep reference
Healthy vs suspicious evidence
How to read the evidence
Verification: Verify switchport mode, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow.
Design & tradeoffs
ENCOR design tradeoffs
Large Layer 2 domains simplify mobility but increase failure/broadcast scope; routed boundaries improve isolation.