vtp (global configuration)
Examples
This example shows how to rename the filename for VTP configuration storage to vtpfilename:
Switch(config)# vtp file vtpfilename
This example shows how to clear the device storage filename:
Switch(config)# no vtp file vtpconfig
Clearing device storage filename.
This example shows how to specify the name of the interface providing the VTP updater ID for this
device:
Switch(config)# vtp interface gigabitethernet
This example shows how to set the administrative domain for the switch:
Switch(config)# vtp domain OurDomainName
This example shows how to place the switch in VTP transparent mode:
Switch(config)# vtp mode transparent
This example shows how to configure the VTP domain password:
Switch(config)# vtp password ThisIsOurDomain'sPassword
This example shows how to enable pruning in the VLAN database:
Switch(config)# vtp pruning
Pruning switched ON
This example shows how to enable Version 2 mode in the VLAN database:
Switch(config)# vtp version 2
You can verify your settings by entering the show vtp status privileged EXEC command.
Related Commands
Command
show vtp
vtp (VLAN
configuration)
Catalyst 2960 Switch Command Reference
2-534
Description
status
Displays the VTP statistics for the switch and general information about the
VTP management domain status.
Configures VTP domain-name, password, pruning, version, and mode.
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
78-16882-01