Configuration Examples For Vlan Trunking; Example: Configuring A Trunk Port - Cisco Catalyst 2960 series Configuration Manual

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

Advertisement

Configuration Examples for VLAN Trunking

Command or Action
Step 12
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
exit
Example:
Switch(config)# exit
Step 15
show running-config
Example:
Switch# show running-config
Step 16
copy running-config startup-config
Example:
Switch# copy running-config startup-config
Related Topics
Network Load Sharing Using STP Path Cost, on page 63

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
Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX
78
Purpose
Returns to global configuration mode.
Returns to privileged EXEC mode.
Verifies your entries. In the display, verify that the path
costs are set correctly for both trunk interfaces.
(Optional) Saves your entries in the configuration file.
Configuring VLAN Trunks
OL-29065

Advertisement

Table of Contents
loading

Table of Contents