cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
37309
Views
26
Helpful
3
Replies

Switchport mode commands that turn off DTP

news2010a
Level 3
Level 3

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

3 Replies 3

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

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,

Peter

babaei.saeed
Level 1
Level 1

The DTP negotiation goes off in these situations:

1-     switchport nonegotiate

2-     Switchport mode access

3-     Switchport mode dot1q-tunnel

msuthar
Level 1
Level 1

Hi,

Please refer the below table for better clarification:-

Configuration   Command on One Side

Short Name

Meaning
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)

Regards

Mukesh Suthar

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