DTP Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=199
Answer
DTP is the Cisco protocol by which two switches negotiate whether a link becomes a trunk. Each port has a mode: access, trunk, dynamic auto or dynamic desirable.
Remember
Two ports in dynamic auto never form a trunk. Set every port's mode explicitly and add switchport nonegotiate: access on user ports, trunk between switches. DTP is Cisco-only — towards other vendors, configure statically.
First checks
show interfaces <interface> switchport— Administrative Mode, Operational Mode and Negotiation of Trunking.show interfaces trunk— ports currently trunking.show dtp interface <interface>— DTP state and counters.
Commands
show interfaces trunkshow dtp interface
Verify in this order
mode set explicitly on both ends → the two modes agree (access/access or trunk/trunk) → negotiation off → operational mode equals the intended mode
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=199