VTP – VLAN Trunking Protocol

VTP
  • VLAN Trunking Protocol.
  • It helps to create and Manage VLAN’s for a large network.
  • VTP has 3 modes 
    • Server
    • Client
    • Transparent
  • VTP running Switches must have VTP Domain to be configured in-order to VTP work, and VTP domain name to be same in all the Switches.
  • VTP works based on Revision number.
  • Higher the Revision number is prefered.

VTP Modes
  • VTP Server
    • It can create, modify or delete VLAN,s.
    • It can update the revision number from Server and Client.
    • By Default all Switches are in Server mode.
    • Database will be stored in vlan.dat of flash memory.
  • VTP Client
    • It can’t create, modify or delete VLAN,s.
    • It can update the revision number from Server and Client.
    • Database will be stored in vlan.dat of flash memory.
  • VTP Transparent
    • It can create, modify or delete VLAN,s locally.
    • It can forward VLAN but will not synchronize itself.
    • Database will be stored in running-config.
Overview of the 3 VTP modes

Drawback of VTP
  • If you remove a VTP Client from the Network Environment, and you change to Server mode, and adding VLAN and doing configuration change and finally once done you are removing all VLAN and changing again to Client mode , Then you connect to Network Environment.. What happens…?
What Happens .. ? 
  • Your Client Revision number increases, Since your VTP server also acts as a VTP Client, It receives higher revision number from client and update itself to the Clients database.
  • OMG..!! Now , everything gone.
  • How we can overcome this…?
How we can overcome VTP issue.. ?
  • If you do want to use VTP Server / Client mode you need to make sure you reset the revision number
  • Changing the domain-name will reset the revision number.
  • Deleting the vlan.dat file on your flash memory will reset the revision number.

That's it about VTP

You can also Look into my Video Tutorial

If you have any queries, please comment....


Post a Comment