2-999
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
vtp primary
vtp primary
Use the vtp primary privileged EXEC command to configure a switch as the VLAN Trunking Protocol
(VTP) primary server.
vtp primary [mst | vlan] [force]
There is no no form of the command.
Note This command is supported only when the switch is running VTP version 3.
Note Although visible in the command line help, the vtp {password password | pruning | version number}
commands are not supported.
Syntax Description
Defaults The switch is a VTP secondary server.
Command Modes Privileged EXEC
Command History
Usage Guidelines This command is supported only on switches configured for VTP version 3.
A VTP primary server updates the database information and sends updates that are honored by all
devices in the system. A VTP secondary server can only back up the updated VTP configurations
received from the primary server to NVRAM.
By default, all devices come up as secondary servers. Primary server status is needed only for database
updates when the administrator issues a takeover message in the domain. You can have a working VTP
domain without any primary servers.
Primary server status is lost if the device reloads or domain parameters change.
mst (Optional) Configure the switch as the primary VTP server for the multiple
spanning tree (MST) feature.
vlan (Optional) Configure the switch as the primary VTP server for VLANs.
force (Optional) Configure the switch to not check for conflicting devices when
configuring the primary server.
Release Modification
12.2(53)SE2 This command was introduced.