You are on page 1of 2

CONFIGURE DTP/VTP

1. Dynamic trunking protocol


 CISCO – proprietary protocol – allows CISCO switches to automatically determine the operational (access/trunk) mode of their
ports);
 DTP messages to inform neighbors about administrative mode
 Best practice is to disable it
 2 modes: switchport mode dynamic auto (does not actively try to form a trunk) and switchport mode dynamic desirable (actively
attempts to form a trunk).
2. VLAN trunking protocol
 CISCO – proprietary protocol – allows CISCO switches to automatically synchronize their VLAN databases;
 4 operation modes: server (create/modify/delete/advertise/update VLANs), client (no create/no modify/no delete/advertise/update
VLANs), transparent (create/modify/delete/no advertise/update VLANs – will forward VTP messages), off

Steps Commands Explanation Details


Switch(config)#interface g0/0  Enter in interface config mode
Disable DTP Best practice: disable DTP
Switch(config-if)#switchport nonegotiate  Disable DTP on g0/0 interface
 Enter in global configuration  All switches must have the
Switch#conf t same VTP domain name,
mode
 Creating vtp domain and unless the network design
Switch(config)#vtp domain CCNA insists for different VTP
changing the name to CCNA
domains
Configure VTP in global
 All switches in a VTP
configuration mode
domain must run the same
Switch(config)#vtp mode VTP version.
 Configure the vtp mode
client/server/transparent/off  All switches in a VTP
domain has the same VTP
password, if there is any.

1 of 2
Steps Commands Explanation Details

 All VTP Server switch(es)


must have the same
configuration revision
number and it must also be
the highest in the domain.
 When you move a VTP

USEFUL DTP/VTP COMMANDS

Command Explanation Details


Switch#show interface g0/0 switchport shows administrative and operational mode of g0/0
Switch#show vtp status shows the status of VTP
Switch(config)#vtp domain CCNA
To reset the VTP version to 0 change the VTP domain name to
Switch(config)#vtp domain NULL
a different one and then change it back to the original one
Switch(config)#vtp domain CCN

2 of 2

You might also like