Purpose
Command or Action
Example:
The following options are applicable only on VTP V3:
•
Hidden
–
Password is not saved as clear text in
vlan.data file. Instead, a hexadecimal secret key
For Hidden:
Device(config)#
vtp password helping
hidden
generated from the password is saved. This is
displayed as the output of the
show vtp
password
.
Generating the secret associated to
the password.
Device#
exit
•
Secret
–
Use this keyword to directly configure
the 32-character hexadecimalsecret key. System
Device#
show vtp password
VTP Password:
89914640C8D90868B6A0D8103847A733
administrators can distribute this secret key
instead of the clear text password.
Example:
For Secret:
Device(config)#
vtp password
89914640C8D90868B6A0D8103847A733
This command is applicable for VTP version
3 only.
Note
secret
Device#
exit
Device#
show vtp password
VTP Password:
89914640C8D90868B6A0D8103847A733
Exits the configuration submode.
switch(config)#
exit
Step 9
This command changes the operational state of a
secondary server to primary and advertises the
switch#
vtp primary
[
feature
] [
force
]
Example:
Device#
vtp primary vlan
Step 10
information to the entire VTP domain. If the password
is configured as hidden, the user is prompted to
re-enter the password after this command.
Enter VTP password:
This switch is becoming Primary
Before the device takes over the role of primary, it
attempts to discover servers that conflict this
server for vlan feature in the VTP
domain
information and follows another primary server. If
VTP Database Conf Switch ID
conflicting servers are discovered, the user must
Primary Server Revision System Name
reconfirm the takeover of operational state and the
subsequent overwriting of configuration.
------------ ---- --------------
-------------- --------
--------------------
•
feature
–
Configures the device as primary server
for a specific feature database. For example, the
VLANDB
Yes
00d0.00b8.1400=00d0.00b8.1400 1
stp7
MST database. Possible values are MST and
VLAN. By default, the VLAN database is
chosen.
Do you want to continue (y/n) [n]?
y
This command is applicable for VTPv3
only.
Note
(Optional)
Displays information about the VTP configuration on
the device, such as the version, mode, and revision
number.
switch#
show vtp status
Step 11
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
137
Configuring VTP V3
Configuring VTP V3