Configuring Vtp Pruning - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 9
Configuring VTP

Configuring VTP Pruning

To configure VTP pruning, perform this task in privileged mode:
Task
Step 1
Enable VTP pruning in the management domain. set vtp pruning enable
Step 2
(Optional) Make specific VLANs pruning
ineligible on the device. (By default,
VLANs 2–1000 are pruning eligible.)
Step 3
(Optional) Make specific VLANs pruning eligible
on the device.
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
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]? y
VTP domain Lab_Network modified
Console> (enable) clear vtp pruneeligible 100-500
Vlans 1,100-500,1001-1005 will not be pruned on this device.
VTP domain Lab_Network modified.
Console> (enable) set vtp pruning 250-255
Vlans 2-99,250-255,501-1000 eligible for pruning on this device.
VTP domain Lab_Network modified.
Console> (enable) show vtp domain
Domain Name
-------------------------------- ------------ ----------- ----------- ----------
Lab_Network
Vlan-count Max-vlan-storage Config Revision Notifications
---------- ---------------- --------------- -------------
8
Last Updater
--------------- -------- -------- -------------------------
172.20.52.2
Console> (enable) show trunk
* - indicates vtp domain mismatch
Port
--------
2/1
Port
--------
2/1
78-12647-02
1023
16
V2 Mode
Pruning
disabled enabled
Mode
Encapsulation
-----------
-------------
on
dot1q
Vlans allowed on trunk
---------------------------------------------------------------------
1-1005
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Command
clear vtp pruning vlan_range
set vtp pruneeligible vlan_range
show vtp domain
show trunk
Domain Index VTP Version Local Mode
1
2
disabled
PruneEligible on Vlans
2-99,250-255,501-1000
Status
Native vlan
------------
-----------
trunking
1
Configuring VTP
Password
server
-
9-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents