hit counter script

Cisco Catalyst 2960 series Configuration Manual page 81

Vlan
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Configuring VLAN Trunks
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface-id
Example:
Switch(config)# interface
gigabitethernet2/0/1
Step 3
switchport trunk pruning vlan {add | except |
none | remove} vlan-list [,vlan [,vlan [,,,]]
Step 4
end
Example:
Switch(config)# end
Step 5
show interfaces interface-id switchport
Example:
Switch# show interfaces
gigabitethernet2/0/1 switchport
Step 6
copy running-config startup-config
Example:
Switch# copy running-config startup-config
OL-29065
Purpose
Enters the global configuration mode.
Selects the trunk port for which VLANs should be pruned, and enters
interface configuration mode.
Configures the list of VLANs allowed to be pruned from the trunk.
For explanations about using the add, except, none, 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.
Returns to privileged EXEC mode.
Verifies your entries in the Pruning VLANs Enabled field of the
display.
(Optional) Saves your entries in the configuration file.
Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX
Configuring an Ethernet Interface as a Trunk Port
69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents