liveBook · Manning

Vtp primary

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

vtp primary is a Cisco IOS privileged EXEC command that designates a VTP server as the primary server for its domain.

vtp primary is a Cisco IOS privileged EXEC command that makes a VTP server the primary server for its VTP domain. In VTP version 3, only the primary server can create, modify, or delete VLANs; other servers act as secondary servers. section 13.2.3

Making SW1 primary

After enabling VTP version 3, SW1 cannot create VLAN 6 until it becomes primary. Enter `vtp primary` from privileged EXEC mode; from global configuration mode, use `do vtp primary`. The switch prompts for confirmation and then permits VLAN creation. Only one switch can be primary; making another switch primary changes the first to secondary. section 13.2.3

SW1(config)# vtp version 3                               #1
SW1(config)# vlan 6                                      #2
VTP VLAN configuration not allowed when device is not 
the primary server for vlan database.                  #3
SW1(config)# do vtp primary                              #4
This system is becoming primary server for feature vlan  #4
No conflicting VTP3 devices found.                       #4
Do you want to continue? [confirm]                       #4
SW1(config)# vlan 6                                      #5
SW1(config-vlan)# exit                                   #5
#1 Enables VTP version 3
#2 Creates a VLAN
#3 The command is rejected.
#4 Makes SW1 the primary server
#5 SW1 can now create VLANs.

Shows the rejected VLAN command, the `do vtp primary` invocation, confirmation prompt, and successful VLAN creation. section 13.2.3

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains purpose, command mode, exclusivity, and VLAN-creation consequences through a short CLI scenario.
Examples
Uses SW1, VTP version 3, VLAN 6, global configuration mode, and privileged EXEC confirmation output.
What it assumes
Assumes familiarity with VTP servers and VLANs while distinguishing privileged EXEC from global configuration mode.
What you can do after
Operate/configure a VTP version 3 server as primary and then create VLANs from the permitted switch.
How it connects
Links VTP version 3 with VTP servers, secondary servers, VTP domains, VLAN databases, and VLAN synchronization.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.