14-14
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter14 Configuring VTP
Configuring VTP
This example shows how to configure a switch as the primary server for the VLAN database (the default)
when a hidden or secret password was configured:
Switch# vtp primary vlan
Enter VTP password: mypassword
This switch is becoming Primary server for vlan feature in the VTP domain
VTP Database Conf Switch ID Primary Server Revision System Name
------------ ---- -------------- -------------- -------- --------------------
VLANDB Yes 00d0.00b8.1400=00d0.00b8.1400 1 stp7
Do you want to continue (y/n) [n]? y
Enabling the VTP Version
VTP version 2 and version 3 are disabled by default.
When you enable VTP version 2 on a switch, every VTP version 2-capable switch in the VTP
domain enables version2. To enable VTP version 3, you must manually configure it on each switch.
With VTP versions 1 and 2, you can configure the version only on switches in VTP server or
transparent mode. If a switch is running VTP version 3, you can change to version 2 when the switch
is in client mode if no extended VLANs exist, no private VLANs exist, and no hidden password was
configured.
Caution VTP version1 and VTP version 2 are not interoperable on switches in the same VTP domain. Do not
enable VTP version2 unless every switch 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 must be disabled.
VTP version 3 is supported on switches running Cisco IOS Release 12.2(52) SE or later.
Caution In VTP version 3, both the primary and secondary servers can exist on an instance in the domain.
For more information on VTP version configuration guidelines, see the “VTP Version” section on
page 14-10.
Beginning in privileged EXEC mode, follow these steps to configure the VTP version:
To return to the default VTP version 1, use the no vtp version global configuration command.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 vtp version {1 | 2 | 3} Enable the VTP version on the switch. The default is VTP version 1.
Step3 end Return to privileged EXEC mode.
Step4 show vtp status Verify that the configured VTP version is enabled.
Step5 copy running-config
startup-config
(Optional) Save the configuration in the startup configuration file.