Cisco WS-C2955T-12 Software Manual page 257

Software guide
Table of Contents

Advertisement

Chapter 8
Configuring VLANs
Beginning in privileged EXEC mode, follow these steps to configure the network shown in
Command
Step 1
configure terminal
Step 2
interface fa0/1
Step 3
switchport mode trunk
Step 4
end
Step 5
Step 6
show running-config
Step 7
show vlan
Step 8
configure terminal
Step 9
interface fa0/1
Step 10
spanning-tree vlan 2 3 4 cost 30
Step 11
end
Step 12
Step 13
exit
Step 14
show running-config
78-6511-08
Purpose
Enter global configuration mode on Switch 1.
Enter interface configuration mode, and define Fa0/1 as the interface to be
configured as a trunk.
Configure the port as a trunk port.
The trunk defaults to ISL trunking.
Return to global configuration mode.
Repeat Steps 2 through 4 on Switch 1 interface Fa0/2.
Verify your entries.
In the display, make sure that interface Fa0/1 and Fa0/2 are configured as
trunk ports.
When the trunk links come up, Switch 1 receives the VTP information from
the other switches. Verify that Switch 1 has learned the VLAN configuration.
Enter global configuration mode.
Enter interface configuration mode, and define Fa0/1 as the interface to set
the STP cost.
Set the spanning-tree path cost to 30 for VLANs 2, 3, and 4.
Return to global configuration mode.
Repeat Steps 9 through 11 on Switch 1 interface Fa0/2, 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 interface Fa0/1
and Fa0/2.
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
Load Sharing Using STP
Figure
8-6:
8-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents