Purpose
Command or Action
30
Returns to global configuration mode.
end
Example:
Switch(config-if)#
end
Step 13
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.
Step 14
Returns to privileged EXEC mode.
exit
Example:
Switch(config)#
exit
Step 15
Verifies your entries. In the display, verify that the path
costs are set correctly for both trunk interfaces.
show running-config
Example:
Switch#
show running-config
Step 16
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 17
Related Topics
Network Load Sharing Using STP Path Cost, on page 2132
Configuration Examples for VLAN Trunking
Example: Configuring a Trunk Port
The following example shows how to configure a port as an IEEE 802.1Q trunk. The example assumes that
the neighbor interface is configured to support IEEE 802.1Q trunking.
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface gigabitethernet1/0/2
Switch(config-if)#
switchport mode dynamic desirable
Switch(config-if)#
end
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2148
Configuration Examples for VLAN Trunking
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: ......