15-8
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 15 Configuring VTP
Configuring VTP
•
If you do not configure the persistent MAC address feature (by entering the
stack-mac persistent
timer
[
0
|
time-value
] global configuration command, when the new master is elected, it sends a
takeover message with the new master MAC address as the primary server.
•
If persistent MAC address is configured, the new master waits for the configured
stack-mac
persistent timer
value. If the previous master switch does not rejoin the stack during this time, then
the new master issues the takeover message.
For more information about the switch stack, see
Chapter 6, “Managing Switch Stacks.”
Configuring VTP
These sections contain this configuration information:
•
Default VTP Configuration, page 15-8
•
VTP Configuration Guidelines, page 15-8
•
Configuring VTP Mode, page 15-11
•
Enabling the VTP Version, page 15-14
•
Enabling VTP Pruning, page 15-15
•
Configuring VTP on a Per-Port Basis, page 15-15
•
Adding a VTP Client Switch to a VTP Domain, page 15-16
Default VTP Configuration
shows the default VTP configuration.
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 command descriptions in the
command reference
for this release. The VTP information is saved in the VTP VLAN database. When
Table 15-2
Default VTP Configuration
Feature
Default Setting
VTP domain name
Null.
VTP mode (VTP version 1 and version 2)
Server.
VTP mode (VTP version 3)
The mode is the same as the mode in VTP version 1 or 2
before conversion to version 3.
VTP version
Version 1.
MST database mode
Transparent.
VTP version 3 server type
Secondary.
VTP password
None.
VTP pruning
Disabled.