USD ($)
$
United States Dollar
India Rupee

Understanding VLAN Trunking Protocol (VTP) in Networking

Created by Deepak Sharma in Articles 23 Jul 2026
Share

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.

What is VLAN Trunking Protocol(VTP)?

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. 


Become a Network Engineer with CCNAJoin the CCNA training class and learn the fundamentals of networking.Explore course
custom banner static image

Components of VLAN Trunking Protocol

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. 

VTP Domains

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.

VTP Modes

VLAN Trunking Protocol has three operational modes: 

1. Server Mode

Switches in server mode can create, modify, and delete VLANs for the entire VTP domain. They also propagate VLAN information to other switches. 

2. Client Mode

Switches in client mode cannot make VLAN changes but receive updates from switches in server mode. 

3. Transparent 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/Advertisements

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: 

1. Summary Advertisements 

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. 

2. Subset Advertisements

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. 

3. Advertisement Requests

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. 

Configuration Revision Number 

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. 

How Does VTP Work? Step-by-Step

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.



banner image

VTP Versions

There are three versions of the VLAN trunking protocol- Version 1, Version 2, and Version 3.

FeatureVTP Version 1VTP Version 2VTP Version 3
VLAN Range1-10051-10051-4094 (extended VLANs)
VLAN PruningYes (VLANs 2-1001)Yes (VLANs 2-1001)Yes (supports extended VLANs)
ModesServer, Client, TransparentServer, Client, TransparentServer, Client, Transparent, Off
AuthenticationPlain text or MD5Plain text or MD5Enhanced authentication options (hidden passwords)
MST SupportNoNoYes (advertises MST information)
Private VLAN SupportNoNoYes

Advantages of VTP

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.

Limitation of VTP

● 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."

Conclusion

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. 

Deepak Sharma

Uninets Admin

More... | Author`s Bog | Book a Meeting

FAQ

VTP (VLAN Trunking Protocol) is a Cisco protocol that propagates the definition of VLANs across the entire network. This helps maintain consistent VLAN configurations across all switches in a network, ensuring that VLAN information such as names and IDs are synchronized.
The protocol used for trunking VLANs is IEEE 802.1Q, which encapsulates VLAN information in Ethernet frames, allowing multiple VLANs to traverse a single physical link between switches
VTP, or VLAN Trunking Protocol, is used to manage and synchronize VLAN configurations across multiple Cisco switches within the same VTP domain, reducing administrative overhead and ensuring consistency in VLAN settings.
VTP pruning is a feature that minimizes unnecessary VLAN traffic by only allowing VLAN traffic on trunk links if the receiving switch has ports in that VLAN. It helps optimize bandwidth usage by preventing broadcasts and multicasts from being sent to switches that don’t have active ports in a particular VLAN.

Comments (0)

Share

Share this post with others

Contact learning advisor

Captcha image