15-8
Cisco IE 3010 Switch Software Configuration Guide
OL-23145-01
Chapter 15 Configuring VTP
Configuring VTP
VTP Configuration Guidelines
You use the vtp global configuration command to set the VTP password, the version, the VTP file name,
the interface providing updated VTP information, the domain name, and the mode, and to disable or
enable pruning. For more information about available keywords, see the comma nd descriptions in the
command reference for this release. The VTP information is saved in the VTP VLAN database. When
VTP mode is transparent, the VTP domain name and mode are also saved in the switch running
configuration file, and you can save it in the switch startup configuration file by entering the copy
running-config startup-config privileged EXEC command. You must use this command if you want to
save VTP mode as transparent if the switch resets.
When you save VTP information in the switch startup configuration file and restart the switch, the
configuration is selected as follows:
If the VTP mode is transparent in both the startup configuration and the VLAN database and the
VTP domain name from the VLAN database matches that in the startup configuration file, the
VLAN database is ignored (cleared). The VTP and VLAN configurations in the startup
configuration file are used. The VLAN database revision number remains unchanged in t he VLAN
database.
If the VTP mode or the domain name in the startup configuration do not match t he VLAN database,
the domain name and the VTP mode and configuration for the first 1005 VLANs use the VLAN
database information.

Domain Names

When configuring VTP for the first time, you must always assign a domain name. You must configure
all switches in the VTP domain with the same domain name. Switches in VTP transparent mode do not
exchange VTP messages with other switches, and you do not need to configure a VTP domain name
for them.
Note If NVRAM and DRAM storage is sufficient, all switches in a VTP domain should be in VTP server
mode.
Caution Do not configure a VTP domain if all switches are operating in VTP client mode. If you configure the
domain, it is impossible to make changes to the VLAN configuration of that domain. Make sure that you
configure at least one switch in the VTP domain for VTP server mode.

Passwords

You can configure a password for the VTP domain, but it is not required. If you do configure a domain
password, all domain switches must share the same password and you must configure the password on
each switch in the management domain. Switches without a password or with the wrong password reject
VTP advertisements.
If you configure a VTP password for a domain, a switch that is booted without a VTP configuration does
not accept VTP advertisements until you configure it with the correct password. After the configuration,
the switch accepts the next VTP advertisement that uses the same password and domain name in the
advertisement.