08-15-2009 03:32 AM - edited 03-06-2019 07:15 AM
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
08-15-2009 03:40 AM
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
07-02-2013 01:17 AM
The DTP negotiation goes off in these situations:
1- switchport nonegotiate
2- Switchport mode access
3- Switchport mode dot1q-tunnel
07-02-2013 08:20 AM
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 | Nonegotiate | Always 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 | Trunk | Always trunks on this end; sends DTP to help other side choose to trunk | On, desirable, auto |
switchport mode dynamic desirable | Desirable | Sends DTP messages, and trunks if negotiation succeeds | On, desirable, auto |
switchport mode dynamic auto | Auto | Replies to DTP messages, and trunks if negotiation succeeds | On, desirable |
switchport mode access | Access | Never 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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide