Configuring an Ethernet Interface as a Trunk Port
Command or Action
Example:
Switch(config-if)# switchport trunk allowed
vlan remove 2
Step 5
end
Example:
Switch(config)# end
Step 6
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1
Step 7
copy running-config startup-config
Example:
Switch# copy running-config startup-config
Related Topics
Allowed VLANs on a Trunk, on page 61
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 | remove} vlan-list [,vlan [,vlan [,,,]]
4. end
5. show interfaces interface-id switchport
6. copy running-config startup-config
Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX
68
Purpose
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.
Returns to privileged EXEC mode.
Verifies your entries in the Trunking VLANs Enabled field of
the display.
(Optional) Saves your entries in the configuration file.
Configuring VLAN Trunks
OL-29065