Use it after changes to trunk ports, or during a hardening audit.
Verification · DTP
Verifying DTP means reading each port's administrative mode, operational mode and negotiation state, and confirming the result is what the design wants.
1. show interfaces trunk — every port that is trunking. Any unexpected?
2. show interfaces <if> switchport — Administrative vs Operational Mode.
3. show interfaces switchport | include Name|Negotiation — ports with negotiation still on.
4. show dtp interface <if> — DTP packets sent and received.
5. Fix: static mode and nonegotiate where intended.
administrative mode on end A → administrative mode on end B → DTP frames exchanged → mode combination decides the result → operational mode trunk or access
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.
show interfaces trunkShowDisplay trunk state, native VLAN and allowed/active VLANs.
Use when: Determine whether a trunk formed and whether a specific VLAN is permitted/active/forwarding locally.
Quick note: Best per-VLAN trunk boundary check; compare both ends and every hop.
Cisco IOS XE · mixedshow dtp interface <interface>ReferenceDisplay DTP negotiation state on an interface.
Use when: Explain why a DTP-capable link did or did not negotiate trunking.
Quick note: After DTP, verify actual switchport mode and trunk VLAN lists.
Cisco IOS / IOS XE · mixedshow interfaces switchportShowShows administrative/operational switchport mode, access VLAN, native VLAN and trunk details.
Use when: Establish the actual switchport role and VLAN assignment for access/trunk/voice troubleshooting.
Quick note: Primary local switchport-mode evidence; combine with show interfaces trunk for trunk VLAN lists.
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.
show interfaces 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 local and peer DTP/static settings produce the intended operational mode and the target VLANs subsequently forward. Broken evidence is incompatible negotiation modes, unexpected access fallback or unintended dynamic trunking. The limit of what it shows: a successful DTP negotiation shows only port-mode outcome, but it does not show allowed VLAN, native VLAN, STP or endpoint traffic. Verify final trunk state and original workload.
Step 2 Native failure isolation and next-check logic Narrow the fault
Inspect show dtp interface and show interfaces ... switchport on both ends. If the expected trunk is not formed, compare administrative modes, negotiation enablement and peer behavior before forcing trunk. If trunk forms but a VLAN fails, move to allowed/native VLAN and STP rather than continuing to adjust DTP. If policy requires static trunks, verify nonegotiate/mode consistency and document the peer dependency. Keep the same port-channel/member context when EtherChannel is involved.
Step 3 Common mistakes Narrow the fault
- Reading only the administrative mode instead of the operational mode.
- Forgetting that DTP is Cisco-only.
Administrative Mode is what you configured; Operational Mode is what actually happened. Look for unexpected trunks (ports in dynamic mode towards users) and for links that should trunk but run as access.
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.
ReferenceHow it works1 section · depth on demand
How it works
DTP verification distinguishes administrative switchport intent, negotiation state and final operational trunk state. DTP can negotiate desirable/auto combinations, while nonegotiate and static trunking intentionally remove negotiation. The peer state matters: a local port can be configured to negotiate yet remain access if the peer does not offer trunking. DTP state does not determine VLAN forwarding by itself; native/allowed VLAN and STP are later dependencies.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Verifying DTP and trunk state on both ends
Two commands from the Catalyst 9300 trunk guide show everything needed. show interfaces <id> switchport shows the administrative mode, operational mode, trunking encapsulation, allowed VLANs and native VLAN. show interfaces <id> trunk shows the trunk status and VLAN lists.
C9300-A# show interfaces Te1/1/1 switchport
Name: Te1/1/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 99 (NATIVE)
Trunking VLANs Enabled: 10,20,30,99
C9300-A# show interfaces trunk
C9300-A# show dtp interface Te1/1/1
Reading the key fields
| Field | Meaning |
|---|---|
| Administrative Mode | What is configured (access, trunk, dynamic auto, dynamic desirable) |
| Operational Mode | What the port actually does now |
| Negotiation of Trunking | On = DTP active; Off = nonegotiate |
| Trunking Native Mode VLAN | Untagged VLAN on this trunk |
| Trunking VLANs Enabled | The allowed list |
A verification routine after any trunk change
| Step | Command |
|---|---|
| Mode and DTP state on both switches | show interfaces <id> switchport |
| Trunk listed, same native VLAN both ends | show interfaces trunk |
| VLANs active and forwarding | "allowed and active" and "forwarding state and not pruned" lines |
| No mismatch messages | show logging | include NATIVE_VLAN|DTP |
| Neighbour seen on the expected port | show cdp neighbors <id> detail or LLDP |
Auditing for DTP across a switch
C9300# show interfaces switchport | include ^Name|Administrative Mode|Negotiation
Ports showing Negotiation of Trunking: On with an administrative mode of dynamic auto or dynamic desirable are candidates for hardening (switchport mode access or trunk + nonegotiate).
Documented example, not captured output.
Quick reference
Verifying DTP means checking both what a port is configured to do and what it actually negotiated. A port can be configured as dynamic and end up as access or trunk depending on its neighbour, so the operational mode is the only reliable answer.
show interfaces Gi1/0/24 switchport
Name: Gi1/0/24
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Negotiation of Trunking: On
Documented example, not captured output. Read it as: the port is willing to trunk if asked (dynamic auto), but nobody asked, so it runs as access, and DTP is still active. The hardened target state is Administrative Mode: trunk (or static access) with Negotiation of Trunking: Off.
show interfaces trunk
show dtp interface Gi1/0/24
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 → DTP → Verification. 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%