0% found this document useful (0 votes)
56 views35 pages

DTP VTP PDF

DTP (Dynamic Trunking Protocol) is a Cisco proprietary protocol that automatically determines switch interface status but should be disabled for security reasons. VTP (VLAN Trunking Protocol) allows centralized VLAN configuration across switches but is rarely recommended for use due to potential risks, such as synchronizing VLAN databases incorrectly. Both protocols have specific modes and configurations that can be managed to optimize network performance and security.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views35 pages

DTP VTP PDF

DTP (Dynamic Trunking Protocol) is a Cisco proprietary protocol that automatically determines switch interface status but should be disabled for security reasons. VTP (VLAN Trunking Protocol) allows centralized VLAN configuration across switches but is rarely recommended for use due to potential risks, such as synchronizing VLAN databases incorrectly. Both protocols have specific modes and configurations that can be managed to optimize network performance and security.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

+

DTP AND VTP


+
DTP
+
DTP (dynamic trunking protocol)
 DTP is a Cisco proprietary protocol that allows Cisco switches to dynamically
determine their interface status (Access or Trunk) without manual configuration.

 DTP is enable by default on all Cisco switch interfaces.

 So far, we have been manually configuring switchports using these commands:


 Switchport mode access
 Switchport mode trunk

 For security purposes, manual configuration is recommended. DTP should


be disabled on all switchports.
+

 We have two options when we configure an interface as a dynamic trunk:


 A switchport in dynamic desirable mode will activelly try to form a trunk with other Cisco switches. It
will form a trunk if connected to another switcchport in the following modes:

 Switchport mode trunk

 Switchport mode dynamic desirable

 Switchport mode dynamic auto


+

 DTP
+

DTP
+
+
+
+
+
+

 A switchport in dynamic auto mode will not actively try to form a trunk with other Cisco switches,
however it will form a trunk if the switch connected to it is actively trying to form a trunk. It will form a
trunk with a switchport in the following modes:

 Switchport mode trunk

 Switchport mode dynamic desirable


+
+
+
+
+
+
+
+
+

 DTP will not form a trunk with a router, PC , etc. The switchport will be in access
mode.

 On older switches, switchport mode dynamic desirable is the default


administrative mode.

 On newer switches, switchport mode dynamic auto is the default administrative


mode.

 You can disable DTP negotiation on an interface with this command:

 Switchport nonegotiate
+

 Configuring an access port with switchport mode access also disables DTP
negotiation on an interface.

 It is recommended that you disable DTP on all switchports and manually


configure them as access or trunk ports.

 To configure an interface with the command Switchport nonegotiate you must


manually configure the interface as access port or trunk port.

 DTP frames are sent in VLAN 1 when using ISL, or in the native VLAN when
using 802.1Q.
+
VTP
+
VTP (VLAN TRUNKING PROTOCOL)

 VTP allows you to configure Vlan on a central VTP server switch, and other switches (VTP
clients) will synchronize their VLAN database to the server.

 It is designed for a large networks with many VLANs, so that you don’t have to configure each
VLAN on every switch.

 It is rarely used, and it is recommended that you do not use it.

 There are three VTP versions: 1, 2 and 3.

 There are three VTP modes: Server, Client and Transparent.

 Cisco switches oparet in VTP server mode by default.


+
VTP modes
 VTP servers:

 VTP mode by default

 Can add/modify/delete VLANs

 Store the VLAN database in non-volatile RAM (NVRAM)

 Will increase the revision number every time a VLAN is added/modified/deleted

 Will advertise the lastest version of the VLAN database on the trunk interfaces, and the
VTP clients will synchronize their VLAN database to it.

 VTP servers also function as VTP clients this means a VTP server will
synchronize to another VTP server with a higher revision number.
+

 VTP clients:

 Cannot add/modify/delete VLANs

 Do not store the VLAN database in NVRAM (in VTPv3 they do)

 Will synchronize their VLAN database to the server with the highest
revision number in their VTP domain

 Will advertise their VLAN database, and forward VTP advertisements to


other clients over their trunk ports.
+

 VTP transparent:

 Does not participate in the VTP domain

 Does not synchonize its VLAN database

 Maintains its own VLAN database in NVRAM. It can add/modify/delete


VLANs, but they won’t be advertised to other switches.

 Will forward VTP advertisements that are in the same domain as


it.
+

VTPv1,2 do
not support
extended
VLAN only
version 3
supports.
+
configuration

 (config)# vtp domain cisco


+
+

If a switch with no VTP


domain receives a VTP
advertisement with a VTP
domain name, it will
automatically join that VTP
domain.

If a switch receives a VTP


advertisement in the same
VTP domain with the higher
revision number, it will
update it’s VLAN database to
match.
+

 One danger of VTP is if you connect an old switch with a higher


revision number to your network and the VTP domain name matches,
all switches in the domain will synchronize their VLAN database to that
switch.
+
+

 Changing the VTP domain to an unused domain will reset the revision
number to 0.

 Changing the VTP mode to transparent will also reset the revision
number to 0.

 Change the Version increases the revision number


+

MERCI !!!!

You might also like