Enabling VTP Pruning on an IOS-Based Switch
By default, VTP pruning is disabled on IOS-based switches. In the VLAN database
configuration mode, the vtp pruning command can be acclimated to accredit pruning.
Enabling VTP Pruning on a CLI-Based Switch
VTP pruning is enabled application the set vtp pruning accredit command. If this command is used
on a VTP server, pruning is enabled for the absolute administration domain. By default, VTP
pruning is disabled. When pruning is enabled with this command, all VLANs become eligible
for pruning on all block links, if needed. The absence account of pruning accommodation can be modified.
Like VLAN trunking, you can aboriginal bright VLANs from the accommodation account application the bright vtp
pruneeligible vlan-range command. Then, specify the VLANs that can be pruned with the set
vtp pruneeligible vlan-range command.
NOTE By default, VLANs 2–1000 are acceptable for pruning. VLAN 1 has a appropriate acceptation because it
is commonly acclimated as a administration VLAN and is never acceptable for pruning. In addition, VLANs
1001–1005 are never acceptable for pruning.
Catalyst A
(VLANs 1-1000)
Catalyst B Catalyst C Catalyst D
VLAN 2 VLANs 3,4
VLAN 3
Host PC
126 Chapter 4: VLANs and Trunking
Example 4-4 shows the use of these commands. VTP pruning is enabled, and VLAN 6 should
be acceptable for pruning, while VLANs 5, 7, 8, 9, and 10 are not acceptable for pruning. Notice how
VLANs 1 and 1001–1005 are never acceptable for pruning.
Enabling VTP Pruning
Switch(enable) set vtp pruning enable
Switch(enable) bright vtp pruneeligible 5-10
Switch(enable) set vtp pruneeligible 6
The pruning cachet on the about-face and its VLANs can be displayed with the appearance vtp domain
command. Example 4-5 shows some sample achievement from this command:
show vtp area Command Achievement Displays VTP Pruning Cachet on a About-face and Its VLANs
Switch> appearance vtp domain
Domain Name Area Index VTP Version Local Approach Password
-------------------------------- ------------ ----------- ----------- ----------
accounting 1 2 server -
Vlan-count Max-vlan-storage Config Revision Notifications
---------- ---------------- --------------- -------------
3 1023 2 disabled
Last Updater V2 Approach Pruning PruneEligible on Vlans
--------------- -------- -------- -------------------------
172.16.4.1 disabled enabled 6,11-2000
Switch>