Procedure Enabling the VTP Version VTP version 2 and version 3 are disabled by default. • When you enable VTP version 2 on a device , every VTP version 2-capable device in the VTP domain enables version 2. To enable VTP version 3, you must manually configure it on each device. • With VTP versions 1 and 2, you can configure the version only on devices in VTP server or transparent mode. If a device is running VTP version 3, you can change to version 2 when the device is in client mode if no extended VLANs exist, no private VLANs exist, and no hidden password was configured. Caution VTP version 1 and VTP version 2 are not interoperable on devices in the same VTP domain.
Do not enable VTP version 2 unless every device in the VTP domain supports version 2. • In TrCRF and TrBRF Token Ring environments, you must enable VTP version 2 or VTP version 3 for Token Ring VLAN switching to function properly. For Token Ring and Token Ring-Net media, disable VTP version 2. Configuring VTP Enabling the VTP Version Command or Action Purpose Step 1 vtp version 3 Example: Device(config)# vtp version 3 Enables VTP version 3 on the device. The default is VTP version 1. Step 2 vtp primary [vlan | mst] [force] Example:
Device# vtp primary vlan force Changes the operational state of a device from a secondary server (the default) to a primary server and advertises the configuration to the domain. If the device password is configured as hidden, you are prompted to reenter the password. • (Optional) vlan—Selects the VLAN database as the takeover feature. This is the default. • (Optional) mst—Selects the multiple spanning tree (MST) database as the takeover feature. • (Optional) force—Overwrites the configuration of any conflicting servers. If you do not enter force, you are prompted for confirmation before the takeover. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 13