8-15
Catalyst 2950 Desktop Switch Software Configuration Guide
78-11380-03
Chapter 8 Configuring VLANs
VLANs in the VTP Database
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 enable VTP pruning on a switch in VTP server mode.
Pruning is supported with VTP version 1 and version 2. If you enable pruning on the VTP server, it is
enabled for the entire VTP domain.
Only VLANs included in the pruning-eligible list can be pruned. By default, VLANs 2 through 1001 are
pruning-eligible on Catalyst 2950 trunk ports. For information, see the “Changing the Pruning-Eligible
List” sectiononpage8-23.
Beginning in privileged EXEC mode, follow these steps to enable VTP pruning:
Monitoring VTP
You monitor VTP by displaying its configuration information: the domain name, the current VTP
revision, and the number of VLANs. You can also display statistics about the advertisements sent and
received by the switch.
Beginning in privileged EXEC mode, follow these steps to monitor VTP activity:
VLANs in the VTP Database
You can set these parameters when you add a new VLAN to or modify an existing VLAN in the VTP
database:
• VLAN ID
• VLAN name
• VLAN type (Ethernet, Fiber Distributed Data Interface [FDDI], FDDI network entity title [NET],
TRBRF or TRCRF, Token Ring, Token Ring-Net)
• VLAN state (active or suspended)
• Maximum transmission unit (MTU) for the VLAN
Command Purpose
Step 1
vlan database Enter VLAN configuration mode.
Step 2
vtp pruning Enable pruning in the VTP administrative domain.
By default, pruning is disabled. You only need to enable pruning on one switch
in VTP server mode.
Step 3
exit Update the VLAN database, propagate it throughout the administrative domain,
andreturntoprivilegedEXECmode.
Step 4
show vtp status Verify your entries.
In the display, check the VTP Pruning Mode field.
Command Purpose
Step 1
show vtp status Display the VTP switch configuration information.
Step 2
show vtp counters Display counters about VTP messages that have been sent and received.