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:
Command
Step 1
configure terminal
Step 2
vtp pruning
Step 3
end
Step 4
show vtp status
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
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:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
vtp
Step 4
end
Step 5
show running-config interface
interface-id
Step 6
show vtp status
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
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-16
Purpose
Enter global configuration mode.
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.
Return to privileged EXEC mode.
Verify your entries in the VTP Pruning Mode field of the display.
"Changing the Pruning-Eligible List" section on page
Purpose
Enter global configuration mode.
Identify an interface, and enter interface configuration mode.
Enable VTP on the specified port.
Return to privileged EXEC mode.
Verify the change to the port.
Verify the configuration.
Chapter 1
Configuring VTP
1-21.
OL-25303-03