Dynamic desirable
Cheat sheet · https://pcornel.dk/topic.php?topic=984
Answer
switchport mode dynamic desirable makes the port actively ask the neighbour to form a trunk. It becomes a trunk if the neighbour is trunk, desirable or auto.
Remember
Desirable only forms a trunk with a neighbour that runs DTP and is not set to access or nonegotiate. In production prefer static trunk + nonegotiate.
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
switchport mode dynamic desirable- Actively try to form a trunk with DTP.
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=984