Enabling Vtp Pruning - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 9
Configuring VTP

Enabling VTP Pruning

To enable 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
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
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
: running VTP1 (VTP3 capable)
: Lab_Network
Mode
Revision
Server
1
: enabled
Mode
Encapsulation
-----------
-------------
nonegotiate
isl
Vlans allowed on trunk
---------------------------------------------------------------------
1-1005,1025-4094
Command
clear vtp pruneeligible vlan_range
set vtp pruneeligible vlan_range
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)
9-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents