Cisco Catalyst 2975 Software Configuration Manual page 390

Ios release 12.2(55)se
Hide thumbs Also See for Catalyst 2975:
Table of Contents

Advertisement

Configuring VLAN Trunks
Figure 13-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 interface-id_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 interface-id_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
Catalyst 2975 Switch Software Configuration Guide
13-22
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.
Return to global configuration mode.
Repeat Steps 2 through 4 on a second interface in the Switch A stack.
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 12 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)
Chapter 13
Configuring VLANs
Figure
13-3:
OL-19720-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents