4.8 VTP Pruning
4.8.2 Configure VTP pruning
Enabling VTP pruning on a VTP server enables pruning for the entire management domain. VTP pruning takes effect several seconds after you enable it. By default, VLANs 2 through 1000 are pruning eligible. VTP pruning does not prune traffic from VLANs that are pruning ineligible. VLAN 1 is always pruning ineligible, so traffic from VLAN 1 cannot be pruned. You have the option to make specific VLANs pruning eligible or pruning ineligible on the device. To make VLANs pruning eligible on a Cisco IOS command-based switch, enter the following:

Switch(vlan)#vtp pruning

To make specific VLANs pruning ineligible on a Cisco IOS command-based switch, enter the following:

Switch(config)#interface fastethernet 0/3
Switch(config-if)#switchport trunk pruning vlan remove vlan-id

Figure shows an example where pruning is enabled for all VLANs except for VLANs 5-10.

To make specific VLANs pruning eligible on a set command-based switch, enter the following:

Console> (enable) set vtp pruneeligible vlan_range

To make specific VLANs pruning ineligible on a set command-based switch, enter the following:

Console> (enable) clear vtp pruneeligible vlan_range

Examples of each of these tasks are illustrated in Figure .

Lab Activity
  In this lab activity, you will learn how to configure VTP pruning between a Catalyst 4000 switch and Catalyst 2900 switch.