10-23
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 10 Configuring VTP
Configuring VTP Version 3
Version : running VTP3
Domain Name : ENG Password : configured
Notifications: disabled Switch ID : 00d0.004c.1800
Feature Mode Revision Primary ID Primary Description
-------------- -------------- ----------- -------------- ----------------------
VLAN Server 0 0000.0000.0000
MST Transparent
UNKNOWN Transparent
Pruning : disabled
VLANs prune eligible: 2-1000
Console> (enable)
Changing VTP Version 3 Modes
Note
For more information on VTP version modes, see the
“VTP Version 3 Modes” section on page 10-17
.
Each database is propagated by an instance of the VTP protocol. As these instances are independent, they
can operate in different modes. The
set vtp mode
command allows you to set the mode for a particular
VTP instance. The VTP instance is identified by the name of the feature to which it applies. The
set vtp
mode
command has been extended to include a
feature
that you specify to identify the database to which
the command applies. The
unknown
keyword allows you to configure the behavior of the switch
databases that it cannot interpret. (These databases will be features handled by future extensions of VTP
version 3.) If you enter the
set vtp mode transparent unknown
command, the packets for the unknown
features are flooded through the
switch. If you enter the
set vtp mode off unknown
command
, the packets
are dropped.
The “unknown” feature can only be configured with off or transparent modes. The default
mode is off for all databases. The mode of the VLAN database and MST database are preserved when
VTP versions are changed.
Note
In software releases 8.1(x) and 8.2(x), the only supported database propagation is for the VLAN
database; therefore, there are no “unknown” databases. In software release 8.3(1), support is added to
propagate the MST database.
Configuring a VTP Version 3 Server
When a switch is in VTP version 3 server mode, you can change the VLAN configuration and have it
propagate throughout the network. To configure the switch as a VTP version 3 server, perform this task
in privileged mode:
This example shows how to configure the switch as a VTP VLAN server and verify the configuration:
Console> (enable)
set vtp mode server
vlan
Changing VTP mode for vlan feature
Task
Command
Step 1
Define the VTP domain name.
set vtp domain
name
Step 2
Place the switch in VTP server mode.
set vtp mode server
{
vlan
|
mst
|
unknown
}
Step 3
(Optional) Set a password for the VTP domain.
set vtp passwd
passwd
Step 4
Verify the VTP configuration.
show vtp domain