Cisco 2950 - Catalyst Switch Configuration Manual page 385

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 17
Configuring VLANs
Beginning in privileged EXEC mode, follow these steps to configure the network shown in
Command
Step 1
configure terminal
Step 2
vtp domain domain-name
Step 3
vtp mode server
Step 4
end
Step 5
show vtp status
Step 6
show vlan
Step 7
configure terminal
Step 8
interface fastethernet 0/1
Step 9
switchport mode trunk
Step 10
end
Step 11
show interfaces fastethernet0/1
switchport
Step 12
Step 13
Step 14
show vlan
Step 15
configure terminal
Step 16
interface fastethernet0/1
Step 17
spanning-tree vlan 8-10 port-priority 16
Step 18
spanning-tree vlan 10 port-priority 16
Step 19
exit
Step 20
interface fastethernet0/2
Step 21
spanning-tree vlan 3-6 port-priority 16
Step 22
end
Step 23
show running-config
Step 24
copy running-config startup-config
78-11380-10
Purpose
Enter global configuration mode on Switch 1.
Configure a VTP administrative domain.
The domain name can be from 1 to 32 characters.
Configure Switch 1 as the VTP server.
Return to privileged EXEC mode.
Verify the VTP configuration on both Switch A and Switch B.
In the display, check the VTP Operating Mode and the VTP Domain
Name fields.
Verify that the VLANs exist in the database on Switch A.
Enter global configuration mode.
Enter interface configuration mode, and define Fast Ethernet port 0/1
as the interface to be configured as a trunk.
Configure the port as a trunk port.
Return to privilege EXEC mode.
Verify the VLAN configuration.
Repeat Steps 7 through 11 on Switch A for Fast Ethernet port 0/2.
Repeat Steps 7 through 11 on Switch B to configure the trunk ports on
Fast Ethernet ports 0/1 and 0/2.
When the trunk links come up, VTP passes the VTP and VLAN
information to Switch B. Verify that Switch B has learned the VLAN
configuration.
Enter global configuration mode on Switch A.
Enter interface configuration mode, and define the interface to set the
STP port priority.
Assign the port priority of 16 for VLANs 8 through 10.
Assign the port priority of 16 for VLAN 10.
Return to global configuration mode.
Enter interface configuration mode, and define the interface to set the
STP port priority.
Assign the port priority of 16 for VLANs 3 through 6.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Configuring VLAN Trunks
Figure
17-3.
17-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents