VTP Configuration with Packet Tracer

packet tracer vtp topology

VTP Configuration with Packet Tracer

In this article, we will focus on how to configure VTP, with Packet Tracerç To configure VTP, we will use the topology below with two switches and two PCs.

Packet Tracer VTP Topology
 

VTP Example Topology
You can DOWNLOAD the Packet Tracer example with .pkt format HERE.

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:

SwitchA> enable
SwitchA# configure terminal 
SwitchA(config)# interface fa 0/24
SwitchA(config-if)#switchport trunk encapsulation dot1q
SwitchA(config-if)# switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
SwitchA(config-if)# end

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:

SwitchB> enable 
SwitchB# configure terminal 
SwitchB(config)# vtp mode client
Setting device to VTP CLIENT mode.
SwitchB(config)# vtp domain cisco
Changing VTP domain name from NULL to cisco
SwitchB(config)# vtp password abc123
SwitchB(config)# vtp version 2
SwitchB(config)# vtp prunning enable
SwitchB(config)# end

To verify VTP configuration, use “show vtp status” and the output of this command will be like below:

cisco show vtp status command
 

Show vtp status on SwitchB

We will configure the same parameters for the Switch A except VTP Mode. This time we will change VTP mode.

We're Sorry!

Full Access is for only IPCisco Crew...

With IPCisco Membership, You Can Access:

• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Lesson tags: VTP
Back to: CCNP Switch > VLANs

CCNP Switch