VTP stands for Virtual Trunking Protocol. It is a Cisco proprietary protocol that simplifies the management of VLAN configurations across a network.
Using VTP, network administrators can create, modify, and delete VLANs on one switch and have these changes automatically propagate to other switches in the same VTP domain, ensuring consistency across the network.
This article will discuss the Cisco VLAN Trunking Protocol (VTP), explain what is VTP in simple language, and explore other components of VTP like modes, domains, and messages. We have also provided an example of VLAN Trunking Protocol configuration on Cisco switches.
Further enrolling in our Cisco Enterprise courses, can help you learn about VTP in detail and gain other networking skills.
VLAN Trunking Protocol(VTP) is a Cisco proprietary protocol designed to manage and synchronize VLAN information across multiple switches in a network.
VTP operates on layer 2 to communicate VLAN information to all switches in a VTP domain, ensuring that all switches have consistent VLAN configurations.
VTP propagates VLAN configuration changes (like additions, deletions, and modifications) throughout all switches within the same VTP domain, reducing the need for manual configuration on each switch.
This propagation happens when VTP messages, also known as advertisements, are sent between switches. These messages contain information about VLAN configurations, and switches listen to these updates to ensure consistency across the network.

VTP operates using three main components:
1. VTP Domains: Each switch must be part of the same VTP domain to exchange VTP messages.
2. VTP Modes: Switches can operate in different VTP modes, such as server, client, and transparent.
3. VTP Messages: These contain VLAN configuration details and other VTP-specific information.
A VLAN Trunking Protocol domain refers to a set of inter-connected switches that share the same VTP domain name, allowing them to share VTP messages.
Here are some key points about the VLAN Trunking Protocol Domain:
● Each switch can only belong to a single VTP domain.
● All switches in a VTP domain have the same VLAN configuration.
● To take part in the VTP domain, switches must have the same username and password.
VLAN Trunking Protocol has three operational modes:
Switches in server mode can create, modify, and delete VLANs for the entire VTP domain. They also propagate VLAN information to other switches.
Switches in client mode cannot make VLAN changes but receive updates from switches in server mode.
Switches in transparent mode do not participate in VTP updates but can forward VTP messages through trunk links. VLAN changes made on these switches only affect the local switch.
VTP messages also referred to as VTP advertisements are used to communicate VLAN changes across the network. VTP uses several message types. Some key VTP message types are explained below:
Summary advertisements are broadcast periodically by switches operating in server or client mode. They contain the configuration revision number and a list of VLANs known to the switch. These messages serve as a heartbeat to ensure that VLAN information is up to date.
Subset advertisements are sent when there is a change in VLAN configurations. These messages provide detailed information about the VLANs, including additions, deletions, or modifications.
Advertisement requests are sent by a switch when it needs to update its VLAN database. This can occur when a switch is added to a VTP domain or after a reboot.
Each VTP message carries a configuration revision number. This number indicates the version of the VLAN configuration that a switch has. When a switch receives a VTP message with a higher revision number, it updates its VLAN configuration to match the one in the received message. This mechanism ensures that all switches in a VTP domain are synchronized.
The working process of VLAN Trunking Protocol can be simplified into 8 easy steps.
Step 1: VTP Configuration- An administrator configures a switch as a VTP server and sets the VTP domain name. This server will manage VLAN information for the entire domain.
Step 2: Creating VLANs- The administrator creates VLANs on the VTP server. For example, VLAN 10, 20, and 30 are added to the VLAN database.
Step 3: VTP Advertisement- The VTP server sends out summary advertisements every 300 seconds or immediately after a change occurs. These advertisements include the updated VLAN information for all switches in the domain.
Step 4: VTP Client Synchronization- VTP clients receive these advertisements and update their VLAN databases accordingly, ensuring consistency across all switches in the VTP domain.
Step 5: Configuration Revision Number- Each time a change is made on the VTP server, the configuration revision number increases. This number helps clients determine if they need to update their configurations based on the latest information received.
Step 6: Verification: Administrators can verify the VTP status on any switch using the command "show vtp status", which displays details like the domain name, mode (server/client), and current revision number.
Step 7: VTP Pruning (Optional): If enabled, VTP pruning reduces unnecessary traffic by preventing updates for VLANs that have no active ports on specific switches, thus optimizing bandwidth usage.
Step 8: Handling Failures: If a VTP server fails, another switch can be configured as a server to continue managing VLANs within the domain without significant disruption.
If you are interested in entering the field of networking or upgrading your skillset with advanced certifications, check out our networking courses. Check training availability with our learner advisor.
There are three versions of the VLAN trunking protocol- Version 1, Version 2, and Version 3.
| Feature | VTP Version 1 | VTP Version 2 | VTP Version 3 |
|---|---|---|---|
| VLAN Range | 1-1005 | 1-1005 | 1-4094 (extended VLANs) |
| VLAN Pruning | Yes (VLANs 2-1001) | Yes (VLANs 2-1001) | Yes (supports extended VLANs) |
| Modes | Server, Client, Transparent | Server, Client, Transparent | Server, Client, Transparent, Off |
| Authentication | Plain text or MD5 | Plain text or MD5 | Enhanced authentication options (hidden passwords) |
| MST Support | No | No | Yes (advertises MST information) |
| Private VLAN Support | No | No | Yes |
Some benefits of VLAN Trunking Protocol are:
● Fast VLAN configuration changes to multiple switches in the VTP domain.
● Maintains uniformity in switches, reducing the risk of misconfiguration.
● Improves scalability by simplifying the configuration of new switches.
● Dynamic reporting and monitoring of VLANs.
● VTP is a Cisco proprietary protocol, limiting its use in multi-vendor environments.
● Misconfigurations on the VTP server propagate errors to all switches in the domain.
● Security risks arise from unauthorized access to the VTP server, leading to potential malicious changes.
● A switch with a higher configuration revision number can unintentionally delete VLANs across the network, known as "VTP wipeout."
VTP is a powerful tool for managing VLAN configurations across a network, but it requires careful planning and implementation to avoid potential issues.
By understanding the various VTP messages, modes, and options like pruning and passwords, network administrators can leverage VTP to efficiently manage their network infrastructure.
With proper configuration and troubleshooting, VTP can significantly reduce the time and effort needed to maintain VLAN consistency across multiple switches.