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

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Configuring VLAN Trunks
Beginning in privileged EXEC mode, follow these steps to modify the allowed list of an 802.1Q trunk:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
switchport mode trunk
Step 4
switchport trunk allowed vlan {add |
except | none | remove} vlan-list
Step 5
end
Step 6
show interfaces interface-id switchport Verify your entries in the Trunking VLANs Enabled field of the display.
Step 7
copy running-config startup-config
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:
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport trunk allowed vlan remove 2
Switch(config-if)# end
Switch#

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 14-14
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
Catalyst 2950 Desktop Switch Software Configuration Guide
13-24
Purpose
Enter global configuration mode.
Enter interface configuration mode and the port to be configured.
Configure the interface as a VLAN trunk port.
(Optional) Configure the list of VLANs allowed on the trunk.
For explanations about using the add, except, none, and remove
keywords, refer to the Catalyst 2950 Desktop Switch Command
Reference for this release.
The vlan-list parameter is either a single VLAN number from 1 to 4094
or a range of VLANs described by two VLAN numbers, the lower one
first, separated by a hyphen. Do not enter any spaces between
comma-separated VLAN parameters or in hyphen-specified ranges.
All VLANs are allowed by default. You cannot remove any of the default
VLANs (1 or 1002 to 1005) from a trunk.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
describes how to enable VTP pruning.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and select the trunk port for which
VLANs should be pruned.
Chapter 13
Configuring VLANs
"Enabling VTP Pruning" section on
78-11380-04

Advertisement

Table of Contents
loading

Table of Contents