Dynamic auto
Cheat sheet · https://pcornel.dk/topic.php?topic=985
Answer
switchport mode dynamic auto makes the port wait passively: it becomes a trunk only if the neighbour asks (trunk or desirable). Two auto ports stay access ports.
Remember
Auto + auto = access, a common surprise on new switches. Auto ports are still a risk: a device that sends DTP desirable can turn them into trunks. Set end-device ports to switchport mode 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
switchport mode dynamic auto- Let the port become a trunk only if the neighbor asks (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=985