Use it when a link stays access although trunking was expected, or a user port turned into a trunk.
DTP negotiation
DTP negotiation problems occur when the mode combination on two ports does not produce the trunk the design expects, or when a port becomes a trunk unintentionally.
1. show interfaces <if> switchport on both ends — Administrative and Operational Mode.
2. Auto + auto → no trunk.
3. One side nonegotiate or a non-Cisco device → DTP cannot negotiate; configure both statically.
4. show vtp status — VTP domain names differ?
5. Fix: static switchport mode trunk + nonegotiate on both ends.
administrative mode on end A → administrative mode on end B → DTP frames exchanged → mode combination decides the result → operational mode trunk or access
Set the intended static or compatible negotiated modes, then verify operational trunk state.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
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.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Relying on DTP in production.
- DTP toward non-Cisco devices.
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.
Decide first whether negotiation is wanted at all — usually not. Auto + auto stays access; DTP does not work through a non-Cisco device or a port with nonegotiate; a VTP domain name mismatch can prevent DTP from forming a trunk.
show dtp interface <if>— DTP state, TOS/TAS/TNS, packets sent and received.show interfaces <if> switchport— Administrative Mode, Operational Mode, Negotiation of Trunking.show interfaces trunk— ports that ended up trunking.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
When a trunk doesn't come up, compare both ends
Trunk problems come from mismatched modes, native VLANs or allowed VLANs. The Catalyst 9300 trunk guide gives the mode rules and the two verification commands.
C9300-A# show interfaces Te1/1/1 trunk
Port Mode Encapsulation Status Native vlan
Te1/1/1 on 802.1q trunking 99
Port Vlans allowed on trunk
Te1/1/1 10,20,30,99
Port Vlans allowed and active in management domain
Te1/1/1 10,20,30,99
Port Vlans in spanning tree forwarding state and not pruned
Te1/1/1 10,20,99
C9300-A# show interfaces Te1/1/1 switchport
Mode matrix (from the guide's rules)
| A \ B | access | dynamic auto | dynamic desirable | trunk |
|---|---|---|---|---|
| access | Access | Access | Access | Mismatch |
| dynamic auto | Access | Access | Trunk | Trunk |
| dynamic desirable | Access | Trunk | Trunk | Trunk |
| trunk | Mismatch | Trunk | Trunk | Trunk |
With nonegotiate on a trunk, the neighbour must also be a static trunk.
Symptom table
| Symptom | Cause |
|---|---|
Operational mode static access on both ends | Both at dynamic auto (the default) |
%CDP-4-NATIVE_VLAN_MISMATCH | Native VLAN differs; the guide warns this can cause spanning-tree loops |
| VLAN missing from "allowed and active" | VLAN not created on this switch |
| VLAN missing from "forwarding and not pruned" | STP blocking, or VTP pruning |
| Trunk up, one VLAN not passing | Not in switchport trunk allowed vlan on one side |
| Err-disabled port | BPDU guard or port security on a port that became a trunk |
Fix pattern
Configure both ends statically: switchport mode trunk, switchport nonegotiate, the same native VLAN and the same allowed list. Then check show interfaces trunk on both switches.
Documented example, not captured output.
Known-good, transitional and broken reference
Identity/scope: physical/logical interface, VLAN or MST instance, peer system/port identity and source/destination MAC Known-good: the switchport mode is as designed, the intended VLAN is admitted, STP role/state matches design and MAC learning follows the expected logical path Transitional: RSTP proposal/agreement or DTP negotiation while counters/state progress toward forwarding Broken: suspended/individual member, VLAN missing or native mismatch, unexpected root/role, blocking when forwarding is required, or MAC movement on the wrong path Interpretation rule: compare the same object, scope and time window.
Quick reference
DTP negotiation depends on the mode at each end, and only certain combinations produce a trunk. The table shows the outcome of each combination, which explains why links between switches with default settings often stay as access ports.
DTP negotiation issues:
| Combination | Result |
|---|---|
| auto + auto | Access — no trunk forms |
| access + desirable | Access on both |
| trunk + nonegotiate vs dynamic | Dynamic side stays access |
| Different VTP domains | DTP fails to trunk (%DTP-5-DOMAINMISMATCH) |
show dtp interface Gi1/0/48
show interfaces Gi1/0/48 trunk
Remove the guesswork: static trunk with nonegotiate on both ends.
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 → DTP negotiation. 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%