Changing The Pruning-Eligible List - Cisco Catalyst 2975 Software Configuration Manual

Ios release 12.2(55)se
Hide thumbs Also See for Catalyst 2975:
Table of Contents

Advertisement

Configuring VLAN Trunks
To return to the default allowed VLAN list of all VLANs, use the no switchport trunk allowed vlan
interface configuration command.
This example shows how to remove VLAN 2 from the allowed VLAN list on a port:
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# switchport trunk allowed vlan remove 2
Switch(config-if)# end

Changing the Pruning-Eligible List

The pruning-eligible list applies only to trunk ports. Each trunk port has its own eligibility list. VTP
pruning must be enabled for this procedure to take effect. The
page 15-15
Beginning in privileged EXEC mode, follow these steps to remove VLANs from the pruning-eligible
list on a trunk port:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
switchport trunk pruning vlan {add |
except | none | remove} vlan-list
[,vlan[,vlan[,,,]]
Step 4
end
Step 5
show interfaces interface-id switchport Verify your entries in the Pruning VLANs Enabled field of the display.
Step 6
copy running-config startup-config
To return to the default pruning-eligible list of all VLANs, use the no switchport trunk pruning vlan
interface configuration command.
Catalyst 2975 Switch Software Configuration Guide
13-18
describes how to enable VTP pruning.
Purpose
Enter global configuration mode.
Select the trunk port for which VLANs should be pruned, and enter
interface configuration mode.
Configure the list of VLANs allowed to be pruned from the trunk. (See
the
"VTP Pruning" section on page
For explanations about using the add, except, none, and remove
keywords, see the command reference for this release.
Separate nonconsecutive VLAN IDs with a comma and no spaces; use a
hyphen to designate a range of IDs. Valid IDs are 2 to 1001.
Extended-range VLANs (VLAN IDs 1006 to 4094) cannot be pruned.
VLANs that are pruning-ineligible receive flooded traffic.
The default list of VLANs allowed to be pruned contains VLANs 2 to
1001.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Chapter 13
Configuring VLANs
"Enabling VTP Pruning" section on
15-6).
OL-19720-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents