VTP (VLAN Trunking Protocol)

VTP Modes



Server mode:

By default Switch is in VTP server mode.
In this mode VLANs can be created,modified and deleted.
Each VTP domain must have atleast one server.


Client mode:

In this mode VLANs cannot be created,modified or deleted
Receive the VTP advertisements and update the VLAN configurations accordingly.
VTP information is passed to other switches.

Transparent mode:

In this mode the switch does not create,change or delete vlan.
It does not synchronize with the VLAN advertisements.
IN VTP version 2, the switches forward the received VTP advertisements.

VTP advertisements

Every switch in the management domain shares VLAN information with other switches in that domain using VTP advertisements.

VTP advertisement consists of VLANs,revision number and other VLAN details.

VTP advertisements are sent as multicast frames.
There is no password on VTP advertisement by default.

We can configure a password in the VTP management domain.
All the switches in one management domain should have the same password to be able to receive the VTP advertisements.

VTP configuration revision number

Vlan information in the VTP advertisements is tracked by using the configuration revision number.A higher configuration number indicates more latest information than the VTP advertisement with lower configuration number.

Types of VTP advertisements.

Summary advertisements:

Subset advertisements:


Advertisement request from clients:

VTP configuration


The default mode for the switch is server mode and the default management domain is NULL with no password.

If the switch receives any VTP advertisements then it will update itself with the domain name and vlan information in the VTP advertisement.


Switch(config)#vtp mode {server|client|transparent}

Switch(config)#vtp password <password>

Configuring VTP management domain


Switch(config)#vtp domain <name>


VTP pruning


By default, VTP pruning is disabled on cisco switches.

VTP pruning can be enabled by the below command


Switch(config)#vtp pruning


When pruning is enabled, it will be applied to all the VLANs on all the trunk links.


We can change the default pruning setting by the below interface configuration command


Switch(config)#interface <type mod/num>

Switch(config-if)#switchport trunk pruning vlan {{{add|except|remove}vlan-list}|none}