10-26
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 10 Configuring VTP
Configuring VTP Version 3
This example shows how to disable VTP using the off mode:
Console> (enable)
set vtp mode off
Changing VTP mode for all features
VTP3 domain server modified
Note
Because there is only the VLAN database in software releases 8.1(x) and 8.2(x), using the
set vtp mode
off
command without specifying the
vlan
keyword results in the same configuration as using the
vlan
keyword. Note that in software release 8.3(1), support is added to propagate the MST database.
Console> (enable)
show vtp domain
Version : running VTP3
Domain Name : ENG Password : configured
Notifications: disabled Switch ID : 00d0.004c.1800
Feature Mode Revision Primary ID Primary Description
-------------- -------------- ----------- -------------- ----------------------
VLAN Off
MST Off
UNKNOWN Transparent
Pruning : disabled
VLANs prune eligible: 2-1000
Console> (enable)
Configuring VTP Version 3 Passwords
Note
For more information on passwords, see the
“VTP Version 3 Authentication” section on page 10-13
.
In VTP version 3, you can hide the VTP password from the configuration by adding the
hidden
keyword to
the password configuration. When you use the
hidden
keyword, the hexadecimal secret key that is generated
from the password is shown in the configuration instead of the password in plain text. If you configure a
password with the
hidden
keyword, you need to reenter the password to issue a takeover (for details on
configuring a takeover, see the
“Configuring a VTP Version 3 Takeover” section on page 10-27
).
Two different formats of the
set vtp passwd
command can be shown in the configuration: A plain text
password or an encrypted hexadecimal secret value. These two formats are exclusive; if you configure a
plain text password, it replaces a current secret password, and similarly, if you paste a secret password
into the configuration, the initial password is removed.
To configure VTP passwords, perform this task in privileged mode:
Task
Command
Step 1
Disable VTP using the off mode.
set vtp mode off
Step 2
Verify the VTP configuration.
show vtp domain
Task
Command
Step 1
Configure a VTP password.
set vtp passwd
passwd
{
hidden
|
secret
}
Step 2
Verify the VTP password.
show config