Chapter 16
Configuring VTP
In VTP version 3, both the primary and secondary servers can exist on an instance in the domain.
Caution
For more information on VTP version configuration guidelines, see the
page
Beginning in privileged EXEC mode, follow these steps to configure the VTP version:
Command
Step 1
configure terminal
vtp version {1 | 2 | 3}
Step 2
Step 3
end
Step 4
show vtp status
Step 5
copy running-config
startup-config
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:
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
page
OL-21521-01
16-10.
Purpose
Enter global configuration mode.
Enable the VTP version on the switch. The default is VTP version 1.
Return to privileged EXEC mode.
Verify that the configured VTP version is enabled.
(Optional) Save the configuration in the startup configuration file.
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.
15-20.
"Changing the Pruning-Eligible List" section on
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring VTP
"VTP Version" section on
16-15