The Dynamic Trunking Protocol (DTP) is a Cisco exclusive convention. The Dynamic Trunking Protocol (DTP) is consequently empowered on Catalyst 2960 and Catalyst 3560 Series switches. DTP oversee trunk exchange 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 setup for Cisco Catalyst 2960 and 3560 switches is “dynamic auto” or “dynamic attractive” 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-setups. 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 setup mode orders. This makes the point of interaction become a trunk, yet not create DTP outlines.

In the beneath figure, the switch0 and switch1 connect become trunk on the grounds that the F0/1 ports on switch0 and switch1 are designed as a trunk, thusly, they disregard all DTP parcels. 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 unique auto-make a latent trunk interface.

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 designed 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

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

The unique auto point of interaction will just tune in for DTP messages from the adjoining switch’s connection point. Assuming the powerful auto interface gets a DTP message from the connection point of the neighbor switch, a port will change itself to the storage compartment. The arrangement 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 attractive

A switch port arranged as the powerful advantageous mode will effectively endeavor to change the connection over to the storage compartment interface utilizing DTP. Assuming the adjoining switch port can shape a trunk, a trunk connection will be laid out. The connection point arranged as the powerful helpful mode will likewise produce DTP messages on the connection point. Assuming the switch gets DTP messages from the opposite side switch, it will accept that another side port is equipped for dealing with labeled edges 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 attractive
• Sw1(config-if)#exit
• Sw1(config)#exit

Switchport mode trunk

This is a super durable mode for trunking on the switch. The point of interaction turns into a trunk interface regardless of whether the adjoining point of interaction isn’t a trunk interface.

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

Switchport nonegotiate

Port designs as nonegotiate forestalls creating DTP outlines. This order is required just when the point of interaction switchport mode is access or trunk. You should physically arrange the adjoining point of interaction 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