SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface interface-id
4.
switchport mode trunk
5.
exit
6.
Repeat Steps 2 through 4 on a second interface in Switch A or in Switch A stack.
7.
end
8.
show running-config
9.
show vlan
10.
configure terminal
11.
interface interface-id
12.
spanning-tree vlan vlan-range cost cost-value
13.
end
14.
Repeat Steps 9 through 13 on the other configured trunk interface on Switch A, and set the spanning-tree
path cost to 30 for VLANs 8, 9, and 10.
15.
exit
16.
show running-config
17.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password
if prompted.
enable
Example:
Switch> enable
Step 1
Enters global configuration mode on Switch A.configure terminal
Example:
Switch# configure terminal
Step 2
Defines the interface to be configured as a trunk, and
enters interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 3
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2146
How to Configure VLAN Trunks