1.0 VLAN Trunking Protocol (VTP)
1.0 VLAN Trunking Protocol (VTP)
1.0 Conception
In our network we only have three switches. We can easily add or remove VLAN manually on all three switches. However this process could be
more tedious and difficult if we have 50 switches. In a large network, we might make a mistake in VLAN configuration. We might forget to add
VLAN on one of the switch, or we may assign wrong VLAN number. Vice versa we may forget to remove VLAN on one of the switch, while removing
VLANs.
VTP is a life saver protocol in this situation. With VTP we can add or remove VLANs on one switch and this switch will propagate VLAN information
to all other switches in network.
VTP Messages
VTP share VLANs information via VTP messages. VTP messages can only be propagate through the trunk connections. So we need to set up trunk
connection between switches. VTP messages are propagated as layer 2 multicast frames.
VTP Domain
VTP domain is a group of switches that share same VLAN information. A switch can have a single domain. VTP messages include domain name.
Switch only update VLAN information if it receives VTP message from same domain.
VTP Mode
VTP can be configured in three different modes.
Server
Transparent
Client
VTP Server Mode
VTP Server can add, modify, and delete VLANs. It will propagate a VTP message containing all the changes from all of its trunk ports. If server
receives a VTP message, it will incorporate the change and forward the message from all remaining trunk ports.
VTP Transparent switch can also make change in VLANs but it will not propagate these changes to other switches. If transparent switch receives a
VTP message, it will not incorporate the change and forward the message as it receives, from all remaining trunk ports.
VTP Client Mode
VTP client switch cannot change the VLAN configurations itself. It can only update its VLAN configuration through the VTP messages that it receive
from VTP server. When it receives a VTP message, it incorporates with the change and then forwards it from remaining trunk ports.
2.0 Configuration
2.1 Switch1: Configure VTP Server