14-15
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 14 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.
Note The switch must be running the LAN base image to support VTP version 3.
When you enable VTP version 2 on a switch, every VTP version 2-capable switch in the VTP
domain enables version 2. 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 ser ver 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 pass word was
configured.
Caution VTP version 1 and VTP version 2 are not interoperable on switches in the same VTP domain. Do not
enable VTP version 2 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:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 vtp version {1 | 2 | 3} Enable the VTP version on the switch. The default is VTP version 1.
Step 3 end Return to privileged EXEC mode.