Pcornel
Networking · Switching › 802.1Q Trunking › DTP

Verification

Cheat sheet · https://pcornel.dk/topic.php?topic=987

Back to the Topic

Answer

Verifying DTP means reading each port's administrative mode, operational mode and negotiation state, and confirming the result is what the design wants.

Remember

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.

First checks

  • 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.

Commands

show interfaces switchport
Shows administrative/operational switchport mode, access VLAN, native VLAN and trunk details.
show interfaces trunk
Display trunk state, native VLAN and allowed/active VLANs.
show dtp interface <interface>
Display DTP negotiation state on an interface.
show interfaces <id> switchport
show interfaces <id> trunk
show cdp neighbors <id> detail
show dtp interface
show interfaces ... switchport

Verify in this order

administrative mode on end A → administrative mode on end B → DTP frames exchanged → mode combination decides the result → operational mode trunk or access

Where it usually breaks

physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=987

Confirmation

Confirm action

Continue?