Cisco Systems WSC2960XR48FPSI Manual De Usuario

Descargar
Página de 178
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.
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. switchport trunk pruning vlan {add except none removevlan-list [,vlan [,vlan [,,,]]
4. end
5. show interfaces interface-id switchport
6. copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Selects the trunk port for which VLANs should be pruned, and enters
interface configuration mode.
interface interface-id
Example:
Switch(config)#
interface
Step 2
gigabitethernet2/0/1
Configures the list of VLANs allowed to be pruned from the trunk.
switchport trunk pruning vlan {add except
none removevlan-list [,vlan [,vlan [,,,]]
Step 3
For explanations about using the addexceptnone, and remove
keywords, see the command reference for this release.
Separate non-consecutive 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.
To return to the default pruning-eligible list of all VLANs,
use the no switchport trunk pruning vlan interface
configuration command.
Note
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1    
   OL-29440-01
71
Configuring VLAN Trunks
Configuring an Ethernet Interface as a Trunk Port