Dynamic Trunking Protocol
The Dynamic Trunking Protocol (DTP) is a proprietary networking protocol developed by Cisco Systems for the purpose of negotiating trunking on a link between two VLAN-aware switches, and for negotiating the type of trunking encapsulation to be used. It works on Layer 2 of the OSI model. VLAN trunks formed using DTP may utilize either IEEE 802.1Q or Cisco ISL trunking protocols.
DTP should not be confused with VTP, as they serve different purposes. VTP communicates VLAN existence information between switches. DTP aids with trunk port establishment. Neither protocol transmits the data frames that trunks carry.
Switch port modes
The following switch port mode settings exist[1]:
- Access — Puts the ethernet port into permanent nontrunking mode and negotiates to convert the link into a nontrunk link. The ethernet port becomes a nontrunk port even if the neighboring port does not agree to the change.
- Trunk — Puts the ethernet port into permanent trunking mode and negotiates to convert the link into a trunk link. The port becomes a trunk port even if the neighboring port does not agree to the change.
- Dynamic Auto — Makes the ethernet port willing to convert the link to a trunk link. The port becomes a trunk port if the neighboring port is set to trunk or dynamic desirable mode. This is the default mode for all ethernet ports.
- Dynamic Desirable — Makes the port actively attempt to convert the link to a trunk link. The port becomes a trunk port if the neighboring ethernet port is set to trunk, dynamic desirable, or dynamic auto mode.
- Nonegotiate — Puts the port into permanent trunking mode but prevents the port from generating DTP frames. You must configure the neighboring port manually as a trunk port to establish a trunk link.
See also
- Virtual LAN
- GARP VLAN Registration Protocol