VLAN Trunking Protocol: What is VTP in Networking
โก Smart Summary
VLAN Trunking Protocol (VTP) is a Cisco proprietary protocol that creates, deletes, and synchronizes VLAN information across all switches in a common domain, so administrators configure a VLAN once and let it propagate automatically instead of editing every switch.

What is VLAN?
A VLAN is a custom network created from one or more Local Area Networks. It combines a group of devices spread across multiple networks into one logical network that is administered like a physical LAN. The full form of VLAN is Virtual Local Area Network.
What is VLAN Trunking Protocol (VTP)?
VTP is a Cisco proprietary protocol used to exchange VLAN information. This protocol was developed to effectively manage the transfer of frames from different VLANs on a single physical line. The full form of VTP is VLAN Trunking Protocol.
Using VTP, you can synchronize VLAN information (such as the VLAN name or VLAN ID) across all switches in the same VTP domain.
For example, in a network with 100 switches, creating a VLAN without VTP means entering the same VLAN configuration commands on every switch.
VTP lets you create the VLAN on a single switch. To delete it, you remove it on one switch, and the change automatically propagates to every other switch in the same VTP domain.
Two important VTP techniques are:
- Frame Filtering: This method examines particular information about each frame, such as the MAC address or Layer 3 protocol.
- Frame Tagging: This method places a unique identifier in each frame’s header as it is forwarded throughout the network backbone.
Requirements for VTP Protocol
Here are some requirements for VTP to communicate VLAN information between Cisco switches:
- The VTP version needs to be the same on the switches that you want to configure.
- The name of the VTP domain must be the same on the switches.
- Authentication should match if it is applied.
VTP Components
Here are some important components of VTP:
VTP Domain
The VTP domain limits how far configuration changes propagate in the network if an error occurs. A switch can belong to only one VTP domain at a time. Until the VTP domain name is specified, you cannot create or modify VLANs in VTP server mode, and VLAN information is not propagated. It consists of one or more interconnected switches.
VTP Pruning
This component prevents unnecessary flooding of broadcast traffic from one VLAN across all trunks in the VTP domain. Pruning is disabled by default and is enabled on a VTP server switch using the VTP pruning global configuration command.
VTP Advertisements
VTP uses a hierarchy of advertisements to synchronize and distribute VLAN configurations in the network. This component distributes the VTP domain name and VLAN configuration changes to VTP-enabled switches.
Request advertisements: When a request advertisement is sent to a VTP server in the same domain, the server responds with a summary advertisement followed by a subset advertisement. Request advertisements are sent when:
- The VTP domain name has been changed.
- A summary advertisement arrives with a higher configuration revision number.
- A subset advertisement message is missed.
- The switch has been reset.
Summary advertisement: This type of advertisement contains the VTP domain name, the current revision number, and other VTP configuration details.
- A VTP server sends it every 5 minutes.
- It notifies VTP-enabled switches of the current VTP configuration revision number.
- It is sent immediately after a configuration change.
Subset advertisement: A subset advertisement carries VLAN information, such as:
- Creating or deleting a VLAN
- Suspending or revoking a VLAN
- Changing the name of a VLAN
- Changing the MTU of a VLAN
VTP Modes
You can configure a switch in three modes: 1) Server, 2) Client, or 3) Transparent.
- VTP Server: VTP servers help you advertise the VTP domain VLAN information.
- VTP Client: VTP clients function similarly to VTP servers and store the VLAN information for the entire domain while the switch is on.
- VTP Transparent: Transparent switches forward VTP advertisements to clients and servers. In transparent mode, you can create and modify VLANs locally on that switch.
| Feature | VTP Server | VTP Client | VTP Transparent |
|---|---|---|---|
| Create/Modify/Delete VLANs | Yes | No | Only local |
| Synchronizes itself | Yes | Yes | No |
| Forwards advertisements | Yes | Yes | Yes |
How VTP Works?
The following diagram shows a simple VTP architecture in which each switch carries two VLANs across trunk links to a router:
In the diagram, each switch has two VLANs, and traffic moves between them as follows:
- On the first switch, VLAN P and VLAN Q are sent through a single trunked port to the router, while another port connects to the second switch.
- VLAN R and VLAN S are trunked from the second switch to the first switch and then on to the router, so this trunk link carries traffic from all four VLANs.
- VLAN P traffic that needs to reach a computer on VLAN Q, VLAN R, or VLAN S must travel from the switch to the router and back to the switch.
Advantages of VTP
Here are the important pros and benefits of VTP:
- It helps you divide the network into smaller VLANs for easier management.
- It allows accurate tracking, monitoring, and dynamic reporting of VLANs across the network.
- It provides plug-and-play configuration when adding new VLANs.
- It keeps VLAN configuration consistent across the network with fewer errors.
- It simplifies management of the VLAN database across multiple switches, including adding, deleting, and renaming VLANs.
VTP Configuration Guidelines
Here are some important VTP configuration guidelines:
- Check for incompatible VTP versions and password-related issues.
- Watch for an incorrect VTP mode configuration.
- Make sure not every switch is set to VTP client mode, because at least one server is needed to manage the VLAN database.
VTP Versions
Three VTP versions exist: V1, V2, and V3.
The first two versions are similar, except that V2 adds support for Token Ring VLANs. VTP versions 1 and 2 can propagate only VLANs 1 to 1005.
V3 adds the following features:
- Enhanced authentication.
- Support for extended VLANs (1006 to 4094).
- Support for private VLANs.
- VTP primary server and VTP secondary servers.
- A VTP mode “off” that disables VTP.
- Backward compatibility with earlier versions.
- Protection from unintended database overrides when inserting new switches.
- The option of clear-text or hidden password protection.
- Configuration on a per-port basis instead of only a global scheme.
- Optimized resource handling and a more efficient transfer of information.

