Switchport mode commands that turn off DTP

Unanswered Question
Aug 15th, 2009
User Badges:

Hi there, this is a question from a book. Is the answer from the exercise below complete? In addition to the answer below, I would also include "switchport mode trunk;switchport nonegotiate". Please let me know if I am missing something and the book is right.

Question:What is the correct command to set the

DTP mode of a switch port to OFF?

Answer from the book:switchport mode access

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Peter Paluch Sat, 08/15/2009 - 03:40
User Badges:
  • Cisco Employee,


The DTP packets are not sent in these three circumstances:

1.) Either the port is a static access port configured by the command switchport mode access

2.) Or the port is a static trunk port configured with the command switchport mode trunk and at the same time, the DTP negotiation is deactivated using the command switchport nonegotiate

3.) The port is a routed port configured with the command no switchport

Best regards,


babaei.saeed Tue, 07/02/2013 - 01:17
User Badges:

The DTP negotiation goes off in these situations:

1-     switchport nonegotiate

2-     Switchport mode access

3-     Switchport mode dot1q-tunnel

msuthar Tue, 07/02/2013 - 08:20
User Badges:


Please refer the below table for better clarification:-

Configuration   Command on One Side

Short Name

To Trunk,   Other Side Must Be
switchport   mode trunk ;
switchport nonegotiate
NonegotiateAlways trunks on this   end; does not send DTP messages (good when other switch is a non-Cisco   switch) On

switchport   mode access;

switchport nonegotiate

Access (with   nonegotiate)Never trunks; does   not send DTP messages(Never trunks)

switchport mode trunk

TrunkAlways trunks on this end; sends DTP to help other side choose   to trunkOn, desirable, auto

switchport mode dynamic   desirable

DesirableSends DTP messages, and trunks if negotiation succeedsOn, desirable, auto

switchport mode dynamic auto

AutoReplies to DTP messages, and trunks if negotiation succeedsOn, desirable

switchport mode access

AccessNever trunks; sends DTP to help other side reach same   conclusion(Never trunks)


Mukesh Suthar

Please mark this as "Answered" if it resolves your query.


This Discussion