The Dynamic Trunking Protocol (DTP) is a Cisco restrictive convention. The Dynamic Trunking Protocol (DTP) is naturally empowered on Catalyst 2960 and Catalyst 3560 Series switches. DTP oversee trunk arrangement between at least two Cisco gadgets before really framing the storage compartment association. The advantage of DTP is to help traffic on a trunked connect.

Ethernet interfaces support different trunking modes. For instance, we can set a connection point to trunking, non-trunking, or arrange trunking with the neighbor interface. The Dynamic Trunking Protocol (DTP) oversees trunk exchange. The default DTP design for Cisco Catalyst 2960 and 3560 switches is “dynamic auto” or “dynamic alluring” mode.

The DTP is dealing with a highlight point premise between network gadgets as it were. Some internetworking gadgets haggle inappropriately and send wrong DTP outlines, which causes miss-designs. To avoid this blunder, switch off Dynamic Trunking Protocol (DTP) on the point of interaction associated with gadgets that don’t uphold Dynamic Trunking Protocol (DTP).

A Non-Cisco Switches doesn’t uphold Dynamic Trunking Protocol (DTP). The Dynamic Trunking Protocol (DTP) possibly arrange assuming the port on the neighbor switch is designed in a trunk mode that upholds DTP. To empower trunking from a Cisco switch that not help DTP, utilize the “switchport mode trunk” and “switchport nonegotiate” interface design mode orders. This makes the point of interaction become a trunk, however not create DTP outlines.

In the underneath figure, the switch0 and switch1 interface become trunk in light of the fact that the F0/1 ports on switch0 and switch1 are designed as a trunk, subsequently, they disregard all DTP bundles. The Fa0/2 ports on switch1 and switch2 set to dynamic auto, so the DTP exchange brings about the entrance mode state. The ports in powerful auto-make a dormant trunk connect.

The Cisco Catalyst switches 2960 and 3560 Series interfaces support different trunking modes with the assistance of DTP, For instance:-

Switchport mode access

A switch interface arranged as an entrance mode forestalls the utilization of trunking. This makes the port an unadulterated access port that doesn’t permit VLAN labeling.

Switchport mode dynamic auto

on the off chance that a switch port is arranged as the powerful auto which makes the connection point ready to change the port over to a trunk port. The point of interaction turns into a trunk interface so assuming the adjoining connection point is set to trunk or beneficial mode. The default switchport mode for all Ethernet points of interaction is dynamic auto so in the default design “dynamic auto” mode the switch won’t create DTP messages on the connection point.

The unique auto connection point will just tune in for DTP messages from the adjoining switch’s connection point. Assuming that the unique auto interface gets a DTP message from the connection point of the neighbor switch, a port will change itself to the storage compartment. The setup order for dynamic auto is the accompanying:-

• Sw1#configure terminal
• Sw1(config)#interface fa0/1
• Sw1(config-if)#switchport mode dynamic auto
• Sw1(config-if)#exit
• Sw1(config)#exit

Switchport mode dynamic alluring

A switch port arranged as the powerful helpful mode will effectively endeavor to change the connection over to the storage compartment interface utilizing DTP. Assuming that the adjoining switch port can shape a trunk, a trunk connection will be laid out. The point of interaction arranged as the unique advantageous mode will likewise produce DTP messages on the point of interaction. Assuming the switch gets DTP messages from the opposite side switch, it will accept that another side port is fit for taking care of labeled casings and a trunk connection will be laid out between the two switches.

• Sw1#configure terminal
• Sw1(config)#interface fa0/1
• Sw1(config-if)#switchport mode dynamic alluring
• Sw1(config-if)#exit
• Sw1(config)#exit

Switchport nonegotiate

Port arranges as nonegotiate forestalls creating DTP outlines. This order is required just when the connection point switchport mode is access or trunk. You should physically arrange the adjoining connection point as a trunk connection point to lay out a trunk interface.

• Sw1#configure terminal
• Sw1(config)#interface fa0/1
• Sw1(config-if)#switchport mode trunk
• Sw1(config-if)#switchport nonegotiate
• Sw1(config-if)#exit
• Sw1(config)#exit