Command:

set vtp pruning

Mode:

Switch> (enable)


Syntax:

set vtp pruning vlans


Syntax Description:

vlans

Variable that specifies the range of VLAN numbers; valid values are 2 to 1000.

 


Command Description:

Use the set vtp pruning command to specify which VLANs in the VTP domain are eligible for pruning.

VTP pruning causes information about each pruning-eligible VLAN to be removed from VTP updates if there are no stations belonging to that VLAN out a particular switch port. Use the set vtp command to enable VTP pruning.

By default, VLANs 2 to 1000 are pruning eligible. You do not need to use the set vtp pruning command unless you have previously used the clear vtp pruning command to make some VLANs pruning ineligible.

If VLANs have been made pruning ineligible, use the set vtp pruning command to make them pruning eligible again.

 


Examples:

This example shows how to configure pruning eligibility for VLANs 120 and 150:

Console> (enable) set vtp pruning 120,150

Vlans 120,150 eligible for pruning on this device.
VTP domain nada modified.
Console> (enable)
 

In this example, VLANs 200-500 were made pruning ineligible using the clear vtp pruning command. The following example shows how to make VLANs 220 to 320 pruning eligible again:

Console> (enable) clear vtp pruning 200-500

Vlans 1,200-500,1001-1005 will not be pruned on this device.
VTP domain Company modified.
Console> (enable)

Console> (enable) set vtp pruning 220-320

Vlans 2-199,220-320,501-1000 eligible for pruning on this device.
VTP domain Company modified.
Console> (enable)


Misconceptions:

None

Related Commands:
set vlan
clear vtp pruning
show vtp domain

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)