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 shaping the storage compartment association. The advantage of DTP is to help traffic on a trunked interface.
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 arrangement. The default DTP design for Cisco Catalyst 2960 and 3560 switches is “dynamic auto” or “dynamic attractive” mode.
The DTP is chipping away at a highlight point premise between network gadgets as it were. Some internetworking gadgets haggle inappropriately and send wrong DTP outlines, which causes miss-arrangements. To avoid this mistake, 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 arrangement mode orders. This makes the point of interaction become a trunk, yet not produce 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 arranged as a trunk, along these lines, they overlook 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 unique auto-make an idle 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
assuming a switch port is designed as the powerful 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 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 arrangement “dynamic auto” mode the switch won’t produce DTP messages on the point of interaction.
The powerful auto point of interaction 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 point of interaction 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 alluring
A switch port arranged as the unique helpful mode will effectively endeavor to change the connection over to the storage compartment interface utilizing DTP. In the event that the adjoining switch port can shape a trunk, a trunk connection will be laid out. The connection point designed as the powerful helpful mode will likewise produce DTP messages on the point of interaction. In the event that the switch gets DTP messages from the opposite side switch, it will accept that another side port is fit for taking care of 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 long-lasting mode for trunking on the switch. The point of interaction turns into a trunk interface regardless of whether the adjoining connection point 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 arranges as nonegotiate forestalls producing 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