Cisco Catalyst 3560-X Software Configuration Manual page 502

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

Configuring VTP
Configuring a VTP Version 3 Password
Beginning in privileged EXEC mode, follow these steps to configure the password when using VTP
version 3:
Command
Step 1
configure terminal
Step 2
vtp password password [hidden |
secret]
Step 3
end
Step 4
show vtp password
Step 5
copy running-config startup-config
To clear the password, enter the no vtp password global configuration command.
This example shows how to configure a hidden password and how it appears.
Switch(config)# vtp password mypassword hidden
Generating the secret associated to the password.
Switch(config)# end
Switch# show vtp password
VTP password: 89914640C8D90868B6A0D8103847A733
Configuring a VTP Version 3 Primary Server
Beginning in privileged EXEC mode, follow these steps on a VTP server to configure it as a VTP
primary server (version 3 only), which starts a takeover operation:
Command
Step 1
vtp primary-server [vlan | mst]
[force]
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-14
Purpose
Enter global configuration mode.
(Optional) Set the password for the VTP domain. The password can be 8 to
64 characters.
(Optional) hidden—Enter hidden to ensure that the secret key
generated from the password string is saved in the nvam:vlan.dat file.
If you configure a takeover by configuring a VTP primary server, you
are prompted to reenter the password.
(Optional) secret—Enter secret to directly configure the password.
The secret password must contain 32 hexadecimal characters.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save the configuration in the startup configuration file.
Purpose
Change the operational state of a switch from a secondary server (the
default) to a primary server and advertise the configuration to the domain.
If the switch password is configured as hidden, you are prompted to reenter
the password.
(Optional) vlan—Select the VLAN database as the takeover feature.
This is the default.
(Optional) mst—Select the multiple spanning tree (MST) database as
the takeover feature.
(Optional) force—Entering force overwrites the configuration of any
conflicting servers. If you do not enter force, you are prompted for
confirmation before the takeover.
Chapter 1
Configuring VTP
OL-25303-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents