14-9
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter14 Configuring VTP Configuring VTP
Do not enable VTP version2 on a switch unless all of the switches in the same VTP domain are
version-2-capable. When you enable version 2 on a switch, all of the version-2-capable switches in
the domain enable version2. If there is a version 1-only switch, it does not exchange VTP
information with switches with version 2 enabled.
If there are TrBRF and TrCRF Token Ring networks in your environment, you must enable VTP
version 2 for Token Ring VLAN switching to function properly. To run Token Ring and Token
Ring-Net, disable VTP version 2.

Configuration Requirements

When you configure VTP, you must configure a trunk port so that the switch can send and receive VTP
advertisements. For more information, see the “Configuring VLAN Trunks” section on page 13-11.
If you are configuring VTP on a cluster member switch to a VLAN, use the rcommand privileged EXEC
command to log into the member switch. For more information about the command, refer to the
command reference for this release.
Configuring a VTP Server
When a switch is in VTP server mode, you can change the VLAN configuration and have it propagated
throughout the network.
Beginning in privileged EXEC mode, follow these steps to configure the switch as a VTP server:
When you configure a domain name, it cannot be removed; you can only reassign a switch to a different
domain.
To return the switch to a no-password state, use the no vtp password global configuration command.
This example shows how to use global configuration mode to configure the switch as a VTP server with
the domain name eng_group and the password mypassword:
Switch# config terminal
Switch(config)# vtp mode server
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 vtp mode server Configure the switch for VTP server mode (the default).
Step3 vtp domain domain-name Configure the VTP administrative-domain name. The name can be from
1 t o 32 char acters. All switches operati ng in VTP server or client mod e
under the same administrative responsibility must be configured with the
same domain name.
Step4 vtp password password (Optional) Set the password for the VTP domain. The password can be
from 8 to 64 characters.
If you configure a VTP password, the VTP domain does not function
properly if you do not assign the same password to each switch in the
domain.
Step5 end Return to privileged EXEC mode.
Step6 show vtp status Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.