14-15
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter14 Configuring VTP
Configuring VTP
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 13-23.
Configuring VTP on a Per-Port Basis
With VTP version 3, you can enable or disable VTP on a per-port basis. You can enable VTP only on
ports that are in trunk mode. Incoming and outgoing VTP traffic are blocked, not forwarded.
Beginning in privileged EXEC mode, follow these steps to enable VTP on a port:
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
Step1 configure terminal Enter global configuration mode.
Step2 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.
Step3 end Return to privileged EXEC mode.
Step4 show vtp status Verify your entries in the VTP Pruning Mode field of the display.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Identify an interface, and enter interface configuration mode.
Step3 vtp Enable VTP on the specified port.
Step4 end Return to privileged EXEC mode.
Step5 show running-config interface
interface-id
Verify the change to the port.
Step6 show vtp status Verify the configuration.