VLAN Trunking Protocol
Configuring a VTP Password
To configure the VTP global parameters, use these commands:
Command
Switch(config)# vtp password
password_string [hidden | secret]
Switch(config)# no vtp password
This example shows one way to configure a VTP password in global configuration mode:
Switch# configure terminal
Switch(config)# vtp password WATER
Setting device VLAN database password to WATER.
Switch#
This example shows how to configure a VTP password in EXEC mode:
Switch# vtp password WATER
Setting device VLAN database password to WATER.
Switch#
The password is not stored in the running-config file.
Note
This example shows how to configure a hidden password:
Switch# configure terminal
Switch(config)# vtp password WATER hidden
Generating the secret associated to the password.
Switch(config)#
This example shows how the password WATER is displayed when it is configured with the hidden
keyword.
Switch# show vtp password
VTP Password: 89914640C8D90868B6A0D8103847A733
Switch#
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
17-14
Chapter 17
Configuring VLANs, VTP, and VMPS
Purpose
Sets a password, which can be from 8 to
64 characters long, for the VTP domain.
In VTP version 3 the keywords hidden and secret
are available.
If the hidden keyword is used, the secret key
•
generated from the password string is saved
in the const_nvram:vlan.dat file. If a takeover
command is issued, that password must be
reentered.
If the secret keyword is used, the password
•
secret key can be directly configured. The
secret password must contain 32
hexadecimal characters.
Clears the password.