VTP
VTP
- VLAN Trunking Protocol (VTP) allows you to add, edit, or delete VLANs on switches configured as VTP servers, and have other switches configured as VTP clients synchronize their VLAN database with them
- VTP Clients and Servers will synchronize their VLAN Databases to the VTP Server with the highest database revision number
VTP Modes
- VTP Server
- Can add, edit, or delete VLANs
- A VTP server will synchronize its VLAN databvase from another VTP Server with a higher revision number
- VTP Client
- Cannot add, edit, or delete VLANs
- a VTP client will synchronize its VLAN database from the VTP Server with the highest revision number
- VTP Transparent
- Does not participate in the VTP domain
- Does not advertise or learn VTP information but will pass it on
- Can add, edit, or delete VLANs in its own local VLAN database
VTP Mode Chart
| Function | VTP Server | VTP Client | VTP Transparent |
|---|---|---|---|
| Create/Modify/Delete VLANS | X | X | |
| Synchronizes VTP Information | X | X | |
| Originates VTP Advertisements | X | X | |
| Forwards VTP Advertisements | X | X | X |
| Stores VLAN Information in NVRAM | X | X |
VTP Configuration
- VTP Configuration
- Join the VTP domain
SW1config# vtp domain (domain name)
- Set mode to Server, Client, or Transparent
SW1config# vtp mode (server/client/transparent)
- Adding VLAN to database if server or transparent (cannot add if VTP client)
Config# vlan (VLAN number)Config-vlan# name (VLAN name)
- Verify VTP Status
#show vtp status
- Join the VTP domain