liveBook · Manning

Switchport mode

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

switchport mode is a Cisco IOS interface-configuration command family that sets or controls a switch port's administrative mode.

switchport mode is a Cisco IOS interface-configuration command family that sets a switch port’s administrative mode. The port’s operational mode is the mode it actually uses: access or trunk. section 13.1

Choose among four administrative modes:

  • access forces access operation and does not send DTP messages. section 13.1.1
  • trunk forces trunk operation and sends DTP messages. section 13.1.1
  • dynamic auto negotiates with DTP but does not actively seek a trunk; two default auto ports remain access ports. section 13.1.1
  • dynamic desirable actively seeks a trunk and can form one with trunk, dynamic auto, or dynamic desirable. section 13.1.1

Verify the configured and operating modes

Use show interfaces g0/0 switchport. Administrative Mode: dynamic desirable and Operational Mode: trunk show that negotiation produced a trunk. With dynamic auto on both ports, the operational mode is static access. section 13.1.1

Table 13.1 Switch port administrative modes (view table figure)

Mode

Description

Port sends DTP messages?

access

Manually configures an access port. Operational mode will always be access.

No

trunk

Manually configures a trunk port. Operational mode will always be trunk.

Yes

dynamic auto

The port uses DTP to negotiate its operational mode but does not actively try to form a trunk with its neighbor.

Will form a trunk if connected to a port in trunk or dynamic desirable mode.

Yes

dynamic desirable

The port uses DTP to negotiate its operational mode and actively tries to form a trunk with its neighbor.

Will form a trunk if connected to a port in trunk, dynamic auto, or dynamic desirable mode.

Yes

Compare each administrative mode, its DTP behavior, and the neighbor modes that produce access or trunk operation. section 13.1.1

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

How deep it goes
Explains four modes, negotiation outcomes, verification, and security guidance without detailing DTP internals.
Examples
Uses paired Cisco switches, dynamic auto and desirable combinations, show interfaces output, and administrative-mode comparison tables.
What you can do after
Configure ports manually, predict DTP negotiation results, and verify administrative and operational modes with Cisco IOS commands.
How it connects
Connects administrative mode with operational mode, DTP, access ports, trunk ports, 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.