In this article, we will introduce the DTP (dynamic Relay Protocol) negotiation. DTP is typically used on Cisco IOS switches to negotiate whether the interface should become an access port or relay.
By default, DTP is enabled and the switch’s interface will be in the "dynamic automatic" or "dynamic demand" mode. This means that whenever you receive a DTP packet that requests a trunk, your interface will be in trunking mode. If you are not familiar with the DTP and the different interface settings, you may need to read my "how to configure a trunk on a Cisco Catalyst switch" before proceeding.
Let’s take a look at DTP negotiation and how to disable it. I’ll be using two switches for this:
I didn’t configure anything on my switches, let’s see what the default settings are:
If we do not configure anything on the interface, we will use the dynamic automatic mode, so the interface is in access mode
There are two ways to disable DTP negotiation:
Configure the interface for access mode.
Use the switchport nonegotiate command on the interface.
Configuring the relay interface does not disable DTP negotiation. Let me give you an example. First, we will configure the interface for the access mode:
When we look again at the switchport settings we can see that DTP negotiation is now disabled:
About SPOTO
SPOTO focus on online IT Certification training for 16 years. SPOTO offers 100% real and valid Cisco CCNA, CCNP, CCIE, ISC, Amazon AWS, Microsoft, and other IT exam practice tests. And we have many free online training courses of Cisco exam on YouTube. You can find many useful and helpful tips and suggestions. If you’re still worried about to prepare and pass the Cisco exam, try SPOTO now. SPOTO tutors will help you get the CCIE number at the first try.
Youtube: https://www.youtube.com/channel/UCEjAjr00o5VmNn5r9dIOY5g
More you may be interested:
1. How to Configure Trunk on Cisco Catalyst Switch
2. How to Configure VLANs on Cisco Catalyst Switch
3. Cisco Switch Virtualization