DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
(Optional) Sets the password for the VTP domain. The password can
be 8 to 64 characters.
vtp password password [hidden | secret]
Example:
Switch(config)# vtp password mypassword
Step 3
• (Optional) hidden—Saves the secret key generated from the
password string in the nvram:vlan.dat file. If you configure a
takeover by configuring a VTP primary server, you are
prompted to reenter the password.
hidden
• (Optional) secret—Directly configures the password. The secret
password must contain 32 hexadecimal characters.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies your entries. The output appears like this:show vtp password
Step 5
Example:
Switch# show vtp password
VTP password: 89914640C8D90868B6A0D8103847A733
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 6
startup-config
Related Topics
Passwords for the VTP Domain, on page 2091
Example: Configuring a Switch as the Primary Server, on page 2105
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2096
How to Configure VTP