Chapter 10
Configuring VTP
Task
Step 4
Verify the VTP pruning configuration.
Step 5
Verify that the appropriate VLANs are being
pruned on trunk ports.
This example shows how to enable VTP pruning in the management domain and how to make
VLANs 2–99, 250–255, and 501–1000 pruning eligible on the particular device:
Console> (enable) set vtp pruning enable
Cannot modify pruning mode unless in VTP SERVER mode.
Console> (enable) set vtp mode server
Changing VTP mode for all features
VTP domain Lab_Network modified
Console> (enable) set vtp pruning enable
This command will enable the pruning function in the entire management domain.
All devices in the management domain should be pruning-capable before enabling.
Do you want to continue (y/n) [n]?
VTP domain Lab_Network modified
Console> (enable) clear vtp pruneeligible 100-500
Vlans 1,100-500,1001-1023 will not be pruned on this device.
VTP domain Lab_Network modified.
Console> (enable) set vtp pruneeligible 250-255
Vlans 2-99,250-255,501-1000,1024-4094 eligible for pruning on this device.
VTP domain Lab_Network modified.
Console> (enable) show vtp domain
Version
Domain Name
Notifications: disabled
Feature
-------------- -------------- -----------
VLAN
Pruning
VLANs prune eligible: 2-99,250-255,501-1000
Console> (enable) show trunk
* - indicates vtp domain mismatch
# - indicates dot1q-all-tagged enabled on the port
Port
--------
16/1
Port
--------
16/1
Port
--------
16/1
Port
--------
16/1
Console> (enable)
OL-8978-04
: running VTP1 (VTP3 capable)
: Lab_Network
Mode
Revision
Server
1
: enabled
Mode
Encapsulation
-----------
-------------
nonegotiate
isl
Vlans allowed on trunk
---------------------------------------------------------------------
1-1005,1025-4094
Vlans allowed and active in management domain
---------------------------------------------------------------------
Vlans in spanning tree forwarding state and not pruned
---------------------------------------------------------------------
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Command
show vtp domain
show trunk
y
Password
Updater ID: 172.20.52.19
Status
Native vlan
------------
-----------
trunking
1
Configuring VTP Version 1 and Version 2
: configured (hidden)
10-11