Cisco Catalyst 2950 Software Configuration Manual page 333

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 13
Configuring VLANs
Command
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 fastethernet 0/1
Step 11
spanning-tree vlan 2 cost 30
Step 12
spanning-tree vlan 3 cost 30
Step 13
spanning-tree vlan 4 cost 30
Step 14
end
Step 15
Step 16
exit
Step 17
show running-config
Step 18
copy running-config startup-config
78-11380-04
Purpose
Configure the port as a trunk port.
Return to global configuration mode.
Repeat Steps 2 through 4 on Switch 1 interface Fast Ethernet 0/2.
Return to privileged EXEC mode.
Verify your entries.
In the display, make sure that interfaces Fast Ethernet 0/1 and Fast
Ethernet 0/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 Fast Ethernet port 0/1 as
the interface to set the STP cost.
Set the spanning-tree path cost to 30 for VLAN 2.
Set the spanning-tree path cost to 30 for VLAN 3.
Set the spanning-tree path cost to 30 for VLAN 4.
Return to global configuration mode.
Repeat Steps 9 through 11 on Switch 1 interface Fast Ethernet 0/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 interfaces
Fast Ethernet 0/1 and 0/2.
(Optional) Save your entries in the configuration file.
Catalyst 2950 Desktop Switch Software Configuration Guide
Configuring VLAN Trunks
13-29

Advertisement

Table of Contents
loading

Table of Contents