Cisco Catalyst 2360 Software Configuration Manual page 199

Ios 12.2(53)ey
Hide thumbs Also See for Catalyst 2360:
Table of Contents

Advertisement

Chapter 9
Configuring VLANs
Figure 9-3
VLANs 2
VLANs 8
Beginning in privileged EXEC mode, follow these steps to configure the network shown in
Command
Step 1
configure terminal
Step 2
interface gigabitethernet0/1
Step 3
switchport mode trunk
Step 4
exit
Step 5
Step 6
end
Step 7
show running-config
Step 8
show vlan
Step 9
configure terminal
Step 10
interface gigabitethernet0/1
Step 11
spanning-tree vlan 2-4 cost 30
Step 12
end
Step 13
Step 14
exit
Step 15
show running-config
Step 16
copy running-config startup-config
OL-19808-01
Load-Sharing Trunks with Traffic Distributed by Path Cost
Switch A
Trunk port 1
4 (path cost 30)
10 (path cost 19)
Switch B
Purpose
Enter global configuration mode on Switch A.
Define the interface to be configured as a trunk, and enter interface
configuration mode.
Configure the port as a trunk port. The trunk defaults toIEEE 802.1q
trunking.
Return to global configuration mode.
Repeat Steps 2 through 5 on a second interface in Switch A.
Return to privileged EXEC mode.
Verify your entries. In the display, make sure that the interfaces are
configured as trunk ports.
When the trunk links come up, Switch A receives the VTP information
from the other switches. Verify that Switch A has learned the VLAN
configuration.
Enter global configuration mode.
Define the interface on which to set the STP cost, and enter interface
configuration mode.
Set the spanning-tree path cost to 30 for VLANs 2 through 4.
Return to global configuration mode.
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.
Return to privileged EXEC mode.
Verify your entries. In the display, verify that the path costs are set
correctly for both trunk interfaces.
(Optional) Save your entries in the configuration file.
Trunk port 2
VLANs 8
10 (path cost 30)
VLANs 2
4 (path cost 19)
Catalyst 2360 Switch Software Configuration Guide
Configuring VLAN Trunks
Figure
9-3:
9-23

Advertisement

Table of Contents
loading

Table of Contents