9-27
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 9 Configuring VTP
Configuring VTP Version 3
Configuring VTP Version 3 Passwords
Note
For additional details, see the
“VTP Version 3 Authentication” section on page 9-13
.
VTP version 3 introduces a way of hiding the VTP password from the configuration. This is achieved
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 a password is configured 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 9-28
).
There are two different formats of the set vtp passwd command that 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 set VTP passwords, perform this task in privileged mode:
This example shows how to set a VTP password and verify the configuration:
Console> (enable) set vtp passwd toto
Generating the secret associated to the password.
VTP3 domain server modified
Console> (enable) show config
.
.
.
set vtp passwd toto
.
.
.
Console> (enable) set vtp passwd toto hidden
Generating the secret associated to the password.
The VTP password will not be shown in the configuration.
VTP3 domain server modified
Console> (enable) show config
.
.
.
set vtp passwd 9fbdf74b43a2815037c1b33aa00445e2 secret
.
.
.
Console> (enable) set vtp passwd toto secret
VTP secret has to be 32 characters in length
Console> (enable)
Task
Command
Step 1
Set a VTP password.
set vtp passwd passwd {hidden | secret}
Step 2
Verify the VTP password.
show config