Latest

All about VTP: Virtual Trunking Protocol, VTP2, VTP3 on Cisco Devices

All about VTP: Virtual Trunking Protocol, VTP2, VTP3 on Cisco Devices

As most of you know about the concept of VLANs and to create, edit and delete VLANs you need VTP protocol. So let's talk about the VTP protocol with the versions and configuration one by one.

This article will include the below topics 
  • Basics of VTP which includes the VTP modes
  • Configuration of VTP Protocol
  • Configuration of VTP 2 Protocol
  • Configuration of VTP version 3 Server
  • Configuration of VTP version 3 Password

VTP- Virtual Trunking Protocol has 4 modes and these modes are 
  • VTP server mode
  • VTP client mode
  • VTP transport mode
  • VTP off mode
VTP Protocol
Fig 1.1- VTP Protocol

VTP Modes

VTP Server mode: You can make changes in the VLANs which means you can create, edit and delete the VLANs in the switched network.
VTP Client mode: Here the VLAN changes can’t be done and get the update from VTP server mode.
VTP transparent mode: In VTP transparent mode, VTP is disabled on the device. The device does not send VTP updates and does not act on VTP updates received from another device.
VTP off mode: VTP off mode is the same as VTP transparent mode except that VTP advertisements are not forwarded.

Configuration of VTP basic 

//Device name here is NetworkDNA
NetworkDNA> enable
NetworkDNA # configure terminal
NetworkDNA (config)# vtp domain NetDNA
NetworkDNA (config)# vtp mode server
NetworkDNA (config)# vtp password HelloW0rld#
NetworkDNA (config)# end
NetworkDNA # show vtp status
NetworkDNA # copy running-config startup-config

Configuration of VTP 2 basic 
//Device name here is NetworkDNA
NetworkDNA> enable
NetworkDNA # configure terminal
NetworkDNA (config)# vtp version 2
NetworkDNA (config)# vtp domain NetDNA
NetworkDNA (config)# vtp mode server
NetworkDNA (config)# vtp password HelloW0rld#
NetworkDNA (config)# end
NetworkDNA # show vtp status
NetworkDNA # copy running-config startup-config

Configuration of VTP version 3 Server
//Device name here is NetworkDNA
NetworkDNA > enable
NetworkDNA # configure terminal
NetworkDNA (config)# vtp version 3
NetworkDNA # vtp primary vlan force

Configuration of VTP version 3 Password

NetworkDNA > enable
NetworkDNA # configure terminal
NetworkDNA (config)# vtp version 3
NetworkDNA (config)# vtp password HelloW0rld# hidden
NetworkDNA (config)# end
NetworkDNA # show vtp status
NetworkDNA # copy running-config startup-config
Continue Reading...