16-15
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 16 Configuring VTP Configuring VTP
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 16-10.
Beginning in privileged EXEC mode, follow these steps to configure the VTP version:
To return to the default VTP version 1, use the no vtp version global configuration command.
Enabling VTP Pruning
Pruning increases available bandwidth by restricting flooded traffic to those trunk links that the traffic
must use to access the destination devices. You can only enable VTP pruning on a switch in VTP server
mode.
Beginning in privileged EXEC mode, follow these steps to enable VTP pruning in the VTP domain:
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 15-20.
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
startup-config (Optional) Save the configuration in the startup configuration file.
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.