09-08-2013 05:04 AM - edited 03-07-2019 03:21 PM
DTP(dynamic trunking protocol) and vtp(vlan trunking protocol) both are cisco proprietry protocols, I'm confused among them, here are the some questions I wans to ask,
1) what is the default running protocol on switches? DTP or VTP ?
2) what these both do ?
3) When wee say DTP has some modes(on, off, desireable, auto and negitiate) and when we say individual switchport has some modes(trunk, access, dynamic desireable, dynamic auto, nonegotiate). what's that mean?
Please tell me what are the DTP modes and what are Switchport modes ?
regards,
sulaiman
09-08-2013 08:41 AM
Hi Sulaiman,
1) what is the default running protocol on switches? DTP or VTP ?
Both.
2) what these both do ?
DTP tries to make sure that on a link that interconnects two switches, both ports operate in the same mode - either access or trunk. In other words, DTP allows two interconnected switches to negotiate the operating mode of a link - either an access link or a trunk.
VTP is responsible for synchronizing the VLAN database across multiple switches. When you create, rename, delete a VLAN or change its state (active or suspended) on a single switch, VTP will propagate this change across all switches in a VTP domain. This way, the management of VLANs on a network with multiple switches is greatly simplified - you make a change to the VLAN database on a single switch, and all switches will learn about the change. So in other words, VTP tries to make sure that all switches in a VTP domain have an identical VLAN database and propagates any changes to it.
3) When wee say DTP has some modes(on, off, desireable, auto and negitiate) and when we say individual switchport has some modes(trunk, access, dynamic desireable, dynamic auto, nonegotiate). what's that mean?
Let's start with the switchport modes. A switchport can either belong to a single VLAN only, or it can be a link that carries data in many VLANs at the same time. If the port belongs to a single VLAN, we call it an access port. If the port belongs to multiple VLANs simultaneously, we call it a trunk. So, switchport modes are either access or trunk - there are no others. Access ports are usually used to connect individual end devices to the network, such as PCs, network printers, webcams, etc. Trunk ports are used to interconnect switches because then the VLANs on both these switches can be made contiguous and access ports in the same VLAN across multiple switches can communicate together as if they were on a single switch. Trunk ports must use frame tagging to distinguish the VLAN frames belong into: when a frame is sent out a trunk port, it receives a tag that says which VLAN does this frame belong into. The receiving trunk port will analyze this tag, remove it, and forward the frame in the appropriate VLAN. Access ports do not use tags because they do not need them - the configuration of a trunk port says which single VLAN it belongs into.
The switchport mode, either access or trunk, is also called the operating mode of a port.
DTP modes tell the port whether it is capable of negotiating the operating mode with the neighboring port via DTP, and if so, what is the preferred operating mode of that port. DTP modes are translated into operating modes of ports.
The resulting operating mode of a link between two ports as negotiated by DTP (if possible) would be:
Of course, DTP is not capable of correcting mode mismatches if it does not run or if the ports are statically set to different operating modes.
Best regards,
Peter
05-12-2018 12:39 PM
Thanks a lot Peter for your answer, and sorry to bring this up again,
I have one question on this,
is there any dependency between VTP and DTP ? does one rely on the other ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide