CCNP · Lesson 2 of 5

VTPv3: the Safe VTP with a Primary Server

VTPv3 fixes VTP's big problem: any switch with a higher revision being able to wipe the VLANs of the whole network.

By topologia.appUpdated: Nov 13, 2026⏱ 6 min❓ 4 questions📶 Level advanced

In a nutshell

In VTPv3 only the primary server can change the domain database. It also advertises extended VLANs, PVLANs and the MST configuration.

In this lesson
  1. What improves over v1 and v2
  2. Roles: primary and secondary server
  3. VTPv3 and MST
  4. What you must remember
  5. Exam-style questions

What improves over v1 and v2

FeatureVTP v1/v2VTP v3
Who can change VLANsAny serverOnly the primary server
Extended VLANs (1006–4094)NoYes
Private VLANsNoYes
MST databaseNoYes (separate instance)
Hidden passwordNoYes (hidden)
Off modeDepends on IOS versionYes, per instance

Roles: primary and secondary server

In VTPv3 every server starts as secondary: it can store and forward the database, but not change it. To edit VLANs, a server must become primary with an exec-mode command (not a configuration command). There can be only one primary per domain for each database.

SW1(config)# vtp domain COMPANY
SW1(config)# vtp version 3
SW1(config)# vtp mode server
SW1(config)# vtp password Cisco123 hidden
SW1(config)# end
SW1# vtp primary vlan  ← exec mode: becomes primary
This system is becoming primary server for feature vlan
Do you want to continue? [confirm]

SW1# show vtp status
VTP version running             : 3
VTP Operating Mode              : Primary Server

Why it is safer

If you connect a used switch with a higher revision, it cannot overwrite the domain because it is not the primary. To take over it would have to run vtp primary on purpose (and know the password).

VTPv3 and MST

VTPv3 has a separate database for MST. With vtp primary mst a switch becomes primary for the MST configuration and the region (name, revision and instance mapping) is copied to the whole domain, preventing region mismatches. You will see it in the MST lesson.

What you must remember

  • Only the primary server changes the database in VTPv3.
  • vtp primary runs in exec mode, not in configuration mode.
  • VTPv3 advertises extended VLANs, PVLANs and MST.
  • The password can be stored hidden with hidden.

Check what you learned

4 exam-style questions. Some have one answer and others ask you to choose several. Answer them all to complete the lesson.

Question 1 of 4 · One answerIn VTPv3, which device can create or modify VLANs that are propagated to the domain?
Question 2 of 4 · Choose twoWhich two features does VTPv3 add compared with VTPv2? (Choose two.)
Question 3 of 4 · One answerHow does a switch become the primary VLAN server in VTPv3?
Question 4 of 4 · One answerA used switch with a higher VTPv3 revision joins the domain as a secondary server. What happens?