13-8
Cisco Catalyst Blade Switch 3120 for HP Software Configuration Guide
OL-12247-01
Chapter 13 Configuring VTP
Configuring VTP
VTP Configuration in VLAN Database Configuration Mode
You can configure all VTP parameters in VLAN database configuration mode, which you access by
entering the vlan database privileged EXEC command. For more information about available keywords,
see the vtp VLAN database configuration command description in the command reference for this
release. When you enter the exit command in VLAN database configuration mode, it applies all the
commands that you entered and updates the VLAN database. VTP messages are sent to other switches
in the VTP domain, and the privileged EXEC mode prompt appears.
If VTP mode is transparent, the domain name and the mode (transparent) are saved in the switch running
configuration, and you can save this information in the switch startup configuration file by entering the
copy running-config startup-config privileged EXEC command.
VTP Configuration Guidelines
These sections describe guidelines you should follow when implementing VTP in your network.
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.
If you are adding a new switch to an existing network with VTP capability, the new switch learns the
domain name only after the applicable password has been configured on it.
Caution
When you configure a VTP domain password, the management domain does not function properly if you
do not assign a management domain password to each switch in the domain.