SWVTP
SWVTP
SWVTP
Configuring VTP
This chapter describes how to use the VLAN Trunking Protocol (VTP) and the VLAN database for
managing VLANs with the Catalyst 3750-X or 3560-X switch. Unless otherwise noted, the term switch
refers to a Catalyst 3750-X or 3560-X standalone switch and to a Catalyst 3750-X switch stack.
Note For complete syntax and usage information for the commands used in this chapter, see the command
reference for this release.
Understanding VTP
VTP is a Layer 2 messaging protocol that maintains VLAN configuration consistency by managing the
addition, deletion, and renaming of VLANs on a network-wide basis. VTP minimizes misconfigurations
and configuration inconsistencies that can cause several problems, such as duplicate VLAN names,
incorrect VLAN-type specifications, and security violations.
Before you create VLANs, you must decide whether to use VTP in your network. Using VTP, you can
make configuration changes centrally on one or more switches and have those changes automatically
communicated to all the other switches in the network. Without VTP, you cannot send information about
VLANs to other switches.
VTP is designed to work in an environment where updates are made on a single switch and are sent
through VTP to other switches in the domain. It does not work well in a situation where multiple updates
to the VLAN database occur simultaneously on switches in the same domain, which would result in an
inconsistency in the VLAN database.
VTP functionality is supported across the stack, and all switches in the stack maintain the same VLAN
and VTP configuration inherited from the stack master. When a switch learns of a new VLAN through
VTP messages or when a new VLAN is configured by the user, the new VLAN information is
communicated to all switches in the stack.
When a switch joins the stack or when stacks merge, the new switches get VTP information from the
stack master.
The switch supports 1005 VLANs, but the number of routed ports, SVIs, and other configured features
affects the usage of the switch hardware. If the switch is notified by VTP of a new VLAN and the switch
is already using the maximum available hardware resources, it sends a message that there are not enough
hardware resources available and shuts down the VLAN. The output of the show vlan user EXEC
command shows the VLAN in a suspended state.
VTP version 1 and version 2 support only normal-range VLANs (VLAN IDs 1 to 1005). Cisco IOS
Release 12.2(52)SE and later support VTP version 3. VTP version 3 supports the entire VLAN range
(VLANs 1 to 4094). Extended range VLANs (VLANs 1006 to 4094) are supported only in VTP
version 3. You cannot convert from VTP version 3 to VTP version 2 if extended VLANs are configured
in the domain.
These sections contain this conceptual information:
The VTP Domain, page 15-2
VTP Modes, page 15-3
VTP Advertisements, page 15-4
VTP Version 2, page 15-4
VTP Version 3, page 15-5
VTP Pruning, page 15-6
VTP and Switch Stacks, page 15-7
Caution Before adding a VTP client switch to a VTP domain, always verify that its VTP configuration revision
number is lower than the configuration revision number of the other switches in the VTP domain.
Switches in a VTP domain always use the VLAN configuration of the switch with the highest VTP
configuration revision number. If you add a switch that has a revision number higher than the revision
number in the VTP domain, it can erase all VLAN information from the VTP server and VTP domain.
See the Adding a VTP Client Switch to a VTP Domain section on page 15-16 for the procedure for
verifying and resetting the VTP configuration revision number.
When you make a change to the VLAN configuration on a VTP server, the change is propagated to all
switches in the VTP domain. VTP advertisements are sent over all IEEE trunk connections, including
Inter-Switch Link (ISL) and IEEE 802.1Q. VTP dynamically maps VLANs with unique names and
internal index associates across multiple LAN types. Mapping eliminates excessive device
administration required from network administrators.
If you configure a switch for VTP transparent mode, you can create and modify VLANs, but the changes
are not sent to other switches in the domain, and they affect only the individual switch. However,
configuration changes made when the switch is in this mode are saved in the switch running
configuration and can be saved to the switch startup configuration file.
For domain name and password configuration guidelines, see the Domain Names section on
page 15-9.
VTP Modes
You can configure a supported switch or switch stack to be in one of the VTP modes listed in Table 15-1.
VTP Advertisements
Each switch in the VTP domain sends periodic global configuration advertisements from each trunk port
to a reserved multicast address. Neighboring switches receive these advertisements and update their VTP
and VLAN configurations as necessary.
Note Because trunk ports send and receive VTP advertisements, you must ensure that at least one trunk port
is configured on the switch or switch stack and that this trunk port is connected to the trunk port of
another switch. Otherwise, the switch cannot receive any VTP advertisements. For more information on
trunk ports, see the Configuring VLAN Trunks section on page 14-14.
VTP Version 2
If you use VTP in your network, you must decide which version of VTP to use. By default, VTP operates
in version 1.
VTP version 2 supports these features that are not supported in version 1:
Token Ring supportVTP version 2 supports Token Ring Bridge Relay Function (TrBRF) and
Token Ring Concentrator Relay Function (TrCRF) VLANs. For more information about Token Ring
VLANs, see the Configuring Normal-Range VLANs section on page 14-4.
Unrecognized Type-Length-Value (TLV) supportA VTP server or client propagates configuration
changes to its other trunks, even for TLVs it is not able to parse. The unrecognized TLV is saved in
NVRAM when the switch is operating in VTP server mode.
Version-Dependent Transparent ModeIn VTP version 1, a VTP transparent switch inspects VTP
messages for the domain name and version and forwards a message only if the version and domain
name match. Although VTP version 2 supports only one domain, a VTP version 2 transparent switch
forwards a message only when the domain name matches.
Consistency ChecksIn VTP version 2, VLAN consistency checks (such as VLAN names and
values) are performed only when you enter new information through the CLI or SNMP. Consistency
checks are not performed when new information is obtained from a VTP message or when
information is read from NVRAM. If the MD5 digest on a received VTP message is correct, its
information is accepted.
VTP Version 3
VTP version 3 supports these features that are not supported in version 1 or version 2:
Enhanced authenticationYou can configure the authentication as hidden or secret. When hidden,
the secret key from the password string is saved in the VLAN database file, but it does not appear
in plain text in the configuration. Instead, the key associated with the password is saved in
hexadecimal format in the running configuration. You must reenter the password if you enter a
takeover command in the domain. When you enter the secret keyword, you can directly configure
the password secret key.
Support for extended range VLAN (VLANs 1006 to 4094) database propagation. VTP versions 1
and 2 propagate only VLANs 1 to 1005. If extended VLANs are configured, you cannot convert
from VTP version 3 to version 1 or 2.
Note VTP pruning still applies only to VLANs 1 to 1005, and VLANs 1002 to 1005 are still
reserved and cannot be modified.
Private VLAN support (if the switch is running the IP base or IP services feature set).
Support for any database in a domain. In addition to propagating VTP information, version 3 can
propagate Multiple Spanning Tree (MST) protocol database information. A separate instance of the
VTP protocol runs for each application that uses VTP.
VTP primary server and VTP secondary servers. A VTP primary server updates the database
information and sends updates that are honored by all devices in the system. A VTP secondary
server can only back up the updated VTP configurations received from the primary server to its
NVRAM.
By default, all devices come up as secondary servers. You can enter the vtp primary privileged
EXEC command to specify a primary server. Primary server status is only needed for database
updates when the administrator issues a takeover message in the domain. You can have a working
VTP domain without any primary servers. Primary server status is lost if the device reloads or
domain parameters change, even when a password is configured on the switch.
The option to turn VTP on or off on a per-trunk (per-port) basis. You can enable or disable VTP per
port by entering the [no] vtp interface configuration command. When you disable VTP on trunking
ports, all VTP instances for that port are disabled. You cannot set VTP to off for the MST database
and on for the VLAN database on the same port.
When you globally set VTP mode to off, it applies to all the trunking ports in the system. However,
you can specify on or off on a per-VTP instance basis. For example, you can configure the switch
as a VTP server for the VLAN database but with VTP off for the MST database.
VTP Pruning
VTP pruning increases network available bandwidth by restricting flooded traffic to those trunk links
that the traffic must use to reach the destination devices. Without VTP pruning, a switch floods
broadcast, multicast, and unknown unicast traffic across all trunk links within a VTP domain even
though receiving switches might discard them. VTP pruning is disabled by default.
VTP pruning blocks unneeded flooded traffic to VLANs on trunk ports that are included in the
pruning-eligible list. Only VLANs included in the pruning-eligible list can be pruned. By default,
VLANs 2 through 1001 are pruning eligible switch trunk ports. If the VLANs are configured as
pruning-ineligible, the flooding continues. VTP pruning is supported in all VTP versions.
Figure 15-1 shows a switched network without VTP pruning enabled. Port 1 on Switch A and Port 2 on
Switch D are assigned to the Red VLAN. If a broadcast is sent from the host connected to Switch A,
Switch A floods the broadcast and every switch in the network receives it, even though Switches C, E,
and F have no ports in the Red VLAN.
Switch D
Port 2
Switch E Switch B
Red
VLAN
Port 1
89240
Figure 15-2 shows a switched network with VTP pruning enabled. The broadcast traffic from Switch A
is not forwarded to Switches C, E, and F because traffic for the Red VLAN has been pruned on the links
shown (Port 5 on Switch B and Port 4 on Switch D).
Switch D
Port 2
Flooded traffic
is pruned. Port
4
Switch B
Red
VLAN
Switch E Flooded traffic
is pruned. Port
5
Port 1
89241
Switch F Switch C Switch A
Enabling VTP pruning on a VTP server enables pruning for the entire management domain. Making
VLANs pruning-eligible or pruning-ineligible affects pruning eligibility for those VLANs on that trunk
only (not on all switches in the VTP domain).
See the Enabling VTP Pruning section on page 15-15. VTP pruning takes effect several seconds after
you enable it. VTP pruning does not prune traffic from VLANs that are pruning-ineligible. VLAN 1 and
VLANs 1002 to 1005 are always pruning-ineligible; traffic from these VLANs cannot be pruned.
Extended-range VLANs (VLAN IDs higher than 1005) are also pruning-ineligible.
VTP pruning is not designed to function in VTP transparent mode. If one or more switches in the
network are in VTP transparent mode, you should do one of these:
Turn off VTP pruning in the entire network.
Turn off VTP pruning by making all VLANs on the trunk of the switch upstream to the VTP
transparent switch pruning ineligible.
To configure VTP pruning on an interface, use the switchport trunk pruning vlan interface
configuration command (see the Changing the Pruning-Eligible List section on page 14-20). VTP
pruning operates when an interface is trunking. You can set VLAN pruning-eligibility, whether or not
VTP pruning is enabled for the VTP domain, whether or not any given VLAN exists, and whether or not
the interface is currently trunking.
When VTP mode is changed in a switch in the stack, the other switches in the stack also change VTP
mode, and the switch VLAN database remains consistent.
VTP version 3 functions the same on a standalone switch or a stack except when the switch stack is the
primary server for the VTP database. In this case, the MAC address of the stack master is used as the
primary server ID. If the master switch reloads or is powered off, a new stack master is elected.
If you do not configure the persistent MAC address feature (by entering the stack-mac persistent
timer [0 | time-value] global configuration command, when the new master is elected, it sends a
takeover message with the new master MAC address as the primary server.
If persistent MAC address is configured, the new master waits for the configured stack-mac
persistent timer value. If the previous master switch does not rejoin the stack during this time, then
the new master issues the takeover message.
For more information about the switch stack, see Chapter 5, Managing Switch Stacks.
Configuring VTP
These sections contain this configuration information:
Default VTP Configuration, page 15-8
VTP Configuration Guidelines, page 15-9
Configuring VTP Mode, page 15-11
Enabling the VTP Version, page 15-14
Enabling VTP Pruning, page 15-15
Configuring VTP on a Per-Port Basis, page 15-16
Adding a VTP Client Switch to a VTP Domain, page 15-16
Domain Names
When configuring VTP for the first time, you must always assign a domain name. You must configure
all switches in the VTP domain with the same domain name. Switches in VTP transparent mode do not
exchange VTP messages with other switches, and you do not need to configure a VTP domain name
for them.
Note If NVRAM and DRAM storage is sufficient, all switches in a VTP domain should be in VTP server
mode.
Caution Do not configure a VTP domain if all switches are operating in VTP client mode. If you configure the
domain, it is impossible to make changes to the VLAN configuration of that domain. Make sure that you
configure at least one switch in the VTP domain for VTP server mode.
Passwords
You can configure a password for the VTP domain, but it is not required. If you do configure a domain
password, all domain switches must share the same password and you must configure the password on
each switch in the management domain. Switches without a password or with the wrong password reject
VTP advertisements.
If you configure a VTP password for a domain, a switch that is booted without a VTP configuration does
not accept VTP advertisements until you configure it with the correct password. After the configuration,
the switch accepts the next VTP advertisement that uses the same password and domain name in the
advertisement.
If you are adding a new switch to an existing network with VTP capability, the new switch learns the
domain name only after the applicable password has been configured on it.
Caution When you configure a VTP domain password, the management domain does not function properly if you
do not assign a management domain password to each switch in the domain.
VTP Version
Follow these guidelines when deciding which VTP version to implement:
All switches in a VTP domain must have the same domain name, but they do not need to run the
same VTP version.
A VTP version 2-capable switch can operate in the same VTP domain as a switch running VTP
version 1 if version 2 is disabled on the version 2-capable switch (version 2 is disabled by default).
If a switch running VTP version 1 but capable of running VTP version 2 receives VTP version 3
advertisements, it automatically moves to VTP version 2.
If a switch running VTP version 3 is connected to a switch running VTP version 1, the VTP version
1 switch moves to VTP version 2, and the VTP version 3 switch sends scaled-down versions of the
VTP packets so that the VTP version 2 switch can update its database.
A switch running VTP version 3 cannot move to version 1 or 2 if it has extended VLANs.
Do not enable VTP version 2 on a switch unless all of the switches in the same VTP domain are
version-2-capable. When you enable version 2 on a switch, all of the version-2-capable switches in
the domain enable version 2. If there is a version 1-only switch, it does not exchange VTP
information with switches that have version 2 enabled.
Cisco recommends placing VTP version 1 and 2 switches at the edge of the network because they
do not forward VTP version 3 advertisements.
If there are TrBRF and TrCRF Token Ring networks in your environment, you must enable VTP
version 2 or version 3 for Token Ring VLAN switching to function properly. To run Token Ring and
Token Ring-Net, disable VTP version 2.
VTP version 1 and version 2 do not propagate configuration information for extended range VLANs
(VLANs 1006 to 4094). You must configure these VLANs manually on each device. VTP version 3
supports extended-range VLANs. You cannot convert from VTP version 3 to VTP version 2 if
extended VLANs are configured.
When a VTP version 3 device trunk port receives messages from a VTP version 2 device, it sends a
scaled-down version of the VLAN database on that particular trunk in VTP version 2 format. A VTP
version 3 device does not send VTP version 2-formatted packets on a trunk unless it first receives
VTP version 2 packets on that trunk port.
When a VTP version 3 device detects a VTP version 2 device on a trunk port, it continues to send
VTP version 3 packets, in addition to VTP version 2 packets, to allow both kinds of neighbors to
coexist on the same trunk.
A VTP version 3 device does not accept configuration information from a VTP version 2 or version
1 device.
Two VTP version 3 regions can only communicate in transparent mode over a VTP version 1 or
version 2 region.
Devices that are only VTP version 1 capable cannot interoperate with VTP version 3 devices.
Configuration Requirements
When you configure VTP, you must configure a trunk port so that the switch can send and receive VTP
advertisements to and from other switches in the domain.
For more information, see the Configuring VLAN Trunks section on page 14-14.
If you are configuring VTP on a cluster member switch to a VLAN, use the rcommand privileged EXEC
command to log in to the member switch. For more information about the command, see the command
reference for this release.
In VTP versions 1 and 2, when you configure extended-range VLANs on the switch, the switch must be
in VTP transparent mode. VTP version 3 also supports creating extended-range VLANs in client or
server mode.
VTP versions 1 and 2 do not support private VLANs. VTP version 3 does support private VLANs. If you
configure private VLANs, the switch must be in VTP transparent mode. When private VLANs are
configured on the switch, do not change the VTP mode from transparent to client or server mode.
Note For VTP version 1 and 2, before you create extended-range VLANs (VLAN IDs 1006 to 4094),
you must set VTP mode to transparent by using the vtp mode transparent global configuration
command. Save this configuration to the startup configuration so that the switch starts in VTP
transparent mode. Otherwise, you lose the extended-range VLAN configuration if the switch
resets and boots up in VTP server mode (the default).
VTP version 3 supports extended-range VLANs. If extended VLANs are configured, you cannot
convert from VTP version 3 to VTP version 2.
If you configure the switch for VTP client mode, the switch does not create the VLAN database file
(vlan.dat). If the switch is then powered off, it resets the VTP configuration to the default. To keep
the VTP configuration with VTP client mode after the switch restarts, you must first configure the
VTP domain name before the VTP mode.
Caution If all switches are operating in VTP client mode, do not configure a VTP domain name. If you do, it is
impossible to make changes to the VLAN configuration of that domain. Therefore, make sure you
configure at least one switch as a VTP server.
Beginning in privileged EXEC mode, follow these steps to configure the VTP mode:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 vtp domain domain-name Configure the VTP administrative-domain name. The name can be 1 to 32
characters. All switches operating in VTP server or client mode under the
same administrative responsibility must be configured with the same
domain name.
This command is optional for modes other than server mode. VTP server
mode requires a domain name. If the switch has a trunk connection to a
VTP domain, the switch learns the domain name from the VTP server in the
domain.
You should configure the VTP domain before configuring other VTP
parameters.
Step 3 vtp mode {client | server | Configure the switch for VTP mode (client, server, transparent or off).
transparent | off} {vlan | mst |
(Optional) Configure the database:
unknown}
vlanthe VLAN database is the default if none are configured.
mstthe multiple spanning tree (MST) database.
unknownan unknown database type.
Step 4 vtp password password (Optional) Set the password for the VTP domain. The password can be 8 to
64 characters. If you configure a VTP password, the VTP domain does not
function properly if you do not assign the same password to each switch in
the domain.
See the Configuring a VTP Version 3 Password section on page 15-13 for
options available with VTP version 3.
Step 5 end Return to privileged EXEC mode.
Step 6 show vtp status Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
Step 7 copy running-config startup-config (Optional) Save the configuration in the startup configuration file.
Note Only VTP mode and domain name are saved in the switch running
configuration and can be copied to the startup configuration file.
When you configure a domain name, it cannot be removed; you can only reassign a switch to a different
domain.
To return a switch in another mode to VTP server mode, use the no vtp mode global configuration
command. To return the switch to a no-password state, use the no vtp password global configuration
command.
This example shows how to configure the switch as a VTP server with the domain name eng_group and
the password mypassword:
Switch(config)# vtp domain eng_group
Setting VTP domain name to eng_group.
Switch(config)# vtp mode server
Setting device to VTP Server mode for VLANS.
Switch(config)# vtp password mypassword
Setting device VLAN database password to mypassword.
Switch(config)# end
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 vtp password password [hidden | (Optional) Set the password for the VTP domain. The password can be 8 to
secret] 64 characters.
(Optional) hiddenEnter 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) secretEnter secret to directly configure the password.
The secret password must contain 32 hexadecimal characters.
Step 3 end Return to privileged EXEC mode.
Step 4 show vtp password Verify your entries.
Step 5 copy running-config startup-config (Optional) Save the configuration in the startup configuration file.
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
Command Purpose
Step 1 vtp primary-server [vlan | mst] Change the operational state of a switch from a secondary server (the
[force] 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) vlanSelect the VLAN database as the takeover feature.
This is the default.
(Optional) mstSelect the multiple spanning tree (MST) database as
the takeover feature.
(Optional) forceEntering force overwrites the configuration of any
conflicting servers. If you do not enter force, you are prompted for
confirmation before the takeover.
This example shows how to configure a switch as the primary server for the VLAN database (the default)
when a hidden or secret password was configured:
Switch# vtp primary vlan
Enter VTP password: mypassword
This switch is becoming Primary server for vlan feature in the VTP domain
Caution VTP version 1 and VTP version 2 are not interoperable on switches in the same VTP domain. Do not
enable VTP version 2 unless every switch in the VTP domain supports version 2.
In TrCRF and TrBRF Token ring environments, you must enable VTP version 2 or VTP version 3
for Token Ring VLAN switching to function properly. For Token Ring and Token Ring-Net media,
disable VTP version 2 must be disabled.
Caution In VTP version 3, both the primary and secondary servers can exist on an instance in the domain.
For more information on VTP version configuration guidelines, see the VTP Version section on
page 15-10.
Beginning in privileged EXEC mode, follow these steps to configure the VTP version:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 vtp version {1 | 2 | 3} Enable the VTP version on the switch. The default is VTP version 1.
Step 3 end Return to privileged EXEC mode.
Step 4 show vtp status Verify that the configured VTP version is enabled.
Step 5 copy running-config (Optional) Save the configuration in the startup configuration file.
startup-config
To return to the default VTP version 1, use the no vtp version global configuration command.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 vtp pruning Enable pruning in the VTP administrative domain.
By default, pruning is disabled. You need to enable pruning on only one switch
in VTP server mode.
Step 3 end Return to privileged EXEC mode.
Step 4 show vtp status Verify your entries in the VTP Pruning Mode field of the display.
To disable VTP pruning, use the no vtp pruning global configuration command.
With VTP versions 1 and 2, when you enable pruning on the VTP server, it is enabled for the entire VTP
domain. In VTP version 3, you must manually enable pruning on each switch in the domain.
Only VLANs included in the pruning-eligible list can be pruned. By default, VLANs 2 through 1001 are
pruning-eligible on trunk ports. Reserved VLANs and extended-range VLANs cannot be pruned. To
change the pruning-eligible VLANs, see the Changing the Pruning-Eligible List section on
page 14-20.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Identify an interface, and enter interface configuration mode.
Step 3 vtp Enable VTP on the specified port.
Step 4 end Return to privileged EXEC mode.
Step 5 show running-config interface Verify the change to the port.
interface-id
Step 6 show vtp status Verify the configuration.
To disable VTP on the interface, use the no vtp interface configuration command.
Switch(config)# interface gigabitethernet 1/0/1
Switch(config-if)# vtp
Switch(config-if)# end
Command Purpose
Step 1 show vtp status Check the VTP configuration revision number.
If the number is 0, add the switch to the VTP domain.
If the number is greater than 0, follow these steps:
a. Write down the domain name.
b. Write down the configuration revision number.
c. Continue with the next steps to reset the switch configuration revision number.
Step 2 configure terminal Enter global configuration mode.
Step 3 vtp domain domain-name Change the domain name from the original one displayed in Step 1 to a new name.
Step 4 end The VLAN information on the switch is updated and the configuration revision
number is reset to 0. You return to privileged EXEC mode.
Command Purpose
Step 5 show vtp status Verify that the configuration revision number has been reset to 0.
Step 6 configure terminal Enter global configuration mode.
Step 7 vtp domain domain-name Enter the original domain name on the switch.
Step 8 end The VLAN information on the switch is updated, and you return to privileged EXEC
mode.
Step 9 show vtp status (Optional) Verify that the domain name is the same as in Step 1 and that the
configuration revision number is 0.
After resetting the configuration revision number, add the switch to the VTP domain.
Note You can use the vtp mode transparent global configuration command to disable VTP on the switch and
then to change its VLAN information without affecting the other switches in the VTP domain.
Monitoring VTP
You monitor VTP by displaying VTP configuration information: the domain name, the current VTP
revision, and the number of VLANs. You can also display statistics about the advertisements sent and
received by the switch.
Table 15-3 shows the privileged EXEC commands for monitoring VTP activity.
Command Purpose
show vtp counters Display counters about VTP messages that have been sent and received.
show vtp devices [conflict] Display information about all VTP version 3 devices in the domain.
Conflicts are VTP version 3 devices with conflicting primary servers.
The show vtp devices command does not display information when the
switch is in transparent or off mode.
show vtp interface Display VTP status and configuration for all interfaces or the specified
[interface-id] interface.
show vtp password Display the VTP password. The form of the password displayed depends
on whether or not the hidden keyword was entered and if encryption is
enabled on the switch.
show vtp status Display the VTP switch configuration information.