Dynamic Trunking Protocol

{{Multiple issues|

{{self-published|date=May 2012}}

{{primary sources|date=May 2012}}

{{one source|date=May 2012}}

}}

{{distinguish|VLAN Trunking Protocol}}

{{Infobox networking protocol

| title = Dynamic Trunking Protocol

| logo =

| logo alt =

| image =

| image alt =

| caption =

| is stack = No

| abbreviation = DTP

| purpose = Trunk negotiation

| developer = Cisco Systems

| date = 1990s {{Start date and age| | | }}

| based on =

| influenced =

| osilayer = Link layer

| rfcs =

| hardware =

}}

The Dynamic Trunking Protocol (DTP) is a proprietary link layer 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. VLAN trunks formed using DTP may utilize either IEEE 802.1Q or Cisco ISL trunking protocols.{{Cite web|url=http://www.ciscopress.com/articles/article.asp?p=2181837&seqNum=8|title=Dynamic Trunking Protocol (3.2.3) > Cisco Networking Academy's Introduction to VLANs|website=www.ciscopress.com|access-date=2016-11-15}}

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:{{cite web|title=Layer 2 LAN Port Configuration|url=http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/15-1SY/config_guide/sup2T/15_1_sy_swcg_2T/layer2.html}}{{Cite book|title = CCENT/CCNA ICND1 100-101 Official Cert Guide|last = Odom|first = Wendell|publisher = Pearson Education|year = 2013|isbn = 978-1587143854|pages = Chapter 9}}

  • 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 some switchports.
  • 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.
  • No-negotiate — Disables DTP. The port will not send out DTP frames or be affected by any incoming DTP frames. If you want to set a trunk between two switches when DTP is disabled, you must manually configure trunking using the (switchport mode trunk) command on both sides.

The configured switch port mode setting is referred to as the port's trunking administrative mode. The current behavior of a given port after negotiating with the neighboring port is referred to as the port's trunking operational mode.

See also

References

{{Reflist}}