In this article, we will focus on how to configure VTP, with Packet Tracer. For VTP Configuration, we will use the topology below with two switches and two PCs.
You can DOWNLOAD the Packet Tracer example with .pkt format HERE.
For all Packet Tracer Examples and Files, you can check Packet Tracer Labs Page.
First of all we must configure the trunk between swithes. Because VTP information pass through only on trunk links on management VLAN (VLAN 1). To do this:
Now the trunk is activated. For switchport mode trunk command it is not necessary to use the same command at the other side of the link, without this job it is automatically activated.
After that we configure Switch A as a VTP Server and the Switch B as a VTP Client. The default switch VTP mode is VTP Server, so we did not change anything on SwitchA. But in SwitchB we will change vtp mode. Then in both switches we will configure VTP domain, VTP password, vtp version and vtp prunning. The related configuration for both switches are below:
To verify VTP configuration, use “show vtp status” and the output of this command will be like below:
Here, during VTP domain configuration, an error occurred because of the domain missmatch and after that when we corrected the configuration then this error dissappeared.