Purpose
Command or Action
Displays the trunk configuration of the interface.
show interfaces interface-id trunk
Example:
Switch#
show interfaces gigabitethernet1/0/2
Step 9
trunk
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 10
Related Topics
Trunking Modes, on page 2130
Layer 2 Interface Modes, on page 2131
Defining the Allowed VLANs on a Trunk
VLAN 1 is the default VLAN on all trunk ports in all Cisco switches, and it has previously been a requirement
that VLAN 1 always be enabled on every trunk link. You can use the VLAN 1 minimization feature to disable
VLAN 1 on any individual VLAN trunk link so that no user traffic (including spanning-tree advertisements)
is sent or received on VLAN 1.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface interface-id
4.
switchport mode trunk
5.
switchport trunk allowed vlan
{
add
|
all
|
except
|
remove
}
vlan-list
6.
end
7.
show interfaces interface-id switchport
8.
copy running-config startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2136
How to Configure VLAN Trunks
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......