Chapter 13
Configuring VLANs
Figure 13-3 Load Sharing by Using STP Port Priorities
VLANs 8 – 10 (priority 10)
VLANs 3 – 6 (priority 128)
Beginning in privileged EXEC mode, follow these steps to configure the network shown in
Command
Step 1
vlan database
Step 2
vtp domain domain-name
Step 3
vtp server
Step 4
exit
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 port-priority 10
Step 18
spanning-tree vlan 9 port-priority 10
Step 19
spanning-tree vlan 10 port-priority 10
78-11380-04
Switch 1
Trunk 1
Switch 2
Purpose
On Switch 1, enter VLAN configuration mode.
Configure a VTP administrative domain.
The domain name can be from 1 to 32 characters.
Configure Switch 1 as the VTP server.
Update the VLAN database, propagate it throughout the
administrative domain, and return to privileged EXEC mode.
Verify the VTP configuration on both Switch 1 and Switch 2.
In the display, check the VTP Operating Mode and the VTP Domain
Name fields.
Verify that the VLANs exist in the database on Switch 1.
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 1 for Fast Ethernet port 0/2.
Repeat Steps 7 through 11 on Switch 2 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 2. Verify that Switch 2 has learned the VLAN
configuration.
Enter global configuration mode on Switch 1.
Enter interface configuration mode, and define the interface to set the
STP port priority.
Assign the port priority of 10 for VLAN 8.
Assign the port priority of 10 for VLAN 9.
Assign the port priority of 10 for VLAN 10.
Catalyst 2950 Desktop Switch Software Configuration Guide
Trunk 2
VLANs 3 – 6 (priority 10)
VLANs 8 – 10 (priority 128)
Configuring VLAN Trunks
Figure
13-3.
13-27