liveBook · Manning

Dynamic auto

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

switchport mode dynamic auto is a Cisco IOS command that configures a switch port to passively negotiate trunking with a neighboring port.

switchport mode dynamic auto configures a Cisco switch port to use DTP while passively negotiating its operational mode. The port normally remains access mode; it becomes a trunk only when the neighbor is configured as trunk or dynamic desirable. Two dynamic auto ports therefore form an access link. section 13.1.1 section 13.3

Remember these operational points:

  • dynamic auto is the default administrative mode on Cisco switch ports. section 13.1.1
  • The port sends DTP messages but does not actively try to form a trunk. section 13.1.1
  • Use show interfaces interface-name switchport to compare administrative mode with operational mode. section 13.1.1
  • Treat dynamic auto as a security risk: a user who sends malicious DTP messages can negotiate a trunk and gain access to all VLANs. section 13.1.2

Verify a default port

On SW1, show interfaces g0/0 switchport can report Administrative Mode: dynamic auto and Operational Mode: static access. To avoid negotiation, manually configure the intended mode and use switchport nonegotiate. section 13.1.2

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains defaults, negotiation behavior, verification output, trunk combinations, and security consequences without detailing DTP internals.
Examples
Uses two dynamic auto switches, show interfaces switchport output, and an unauthorized-trunk security scenario.
What it assumes
Defines administrative versus operational mode before applying DTP negotiation and switchport verification.
What you can do after
Diagnose administrative and operational modes, predict link behavior, and replace negotiation with explicit mode and DTP settings.
How it connects
Connects DTP with trunk ports, access ports, dynamic desirable, VLANs, switchport mode, and switchport nonegotiate.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.