14-24
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 14 Co n figuring VLANs
Configuring VMPS
Beginn ing in privileged EXEC mode, follow these steps to conf ig ure the n etw or k shown in Figure 14-4:

Configuring VMPS

The switch cannot be a VMPS server but can act as a client to the VMPS and communicate with it
through the VLAN Que ry Protocol (VQ P). VMPS dyna mically ass igns dynam ic acce ss port VLAN
member ship.
This section includes this information about configuring VMPS:
Understanding VMPS section on page 14-2 5
Default VMPS Configuration section on p age 14-27
VMPS Configuration Guidelines sect ion on page 14-28
Configuring the V MPS Cl ient sect ion on page 14-28
Command Purpose
Step 1 configure terminal Enter glob al configurat ion mode on Switch 1.
Step 2 int er face f a st et hern et 0 /1 Enter interface configuration mode, and def ine Fast Ethernet port 0/1 as
the inter face to be c onfigured as a trunk .
Step 3 switchport mode trunk Configure the p ort as a tru nk port .
Step 4 exit Return t o g loba l configu ratio n m ode.
Step 5 Repeat St eps 2 th rou gh 4 on Swit ch 1 int erfa ce Fast Eth ernet 0/2.
Step 6 end Return to privileged EXEC mode.
Step 7 show running-config Verify your e ntrie s.
In the display, make sure that interfaces Fast Ethernet 0/1 and Fast
Ethern et 0/2 are co nfigured a s trunk port s.
Step 8 show vlan 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.
Step 9 configure terminal Enter glob al con figuration mo de.
Step 10 int er fa ce f ast et h ernet 0 /1 Enter interface configuration mode, and define Fast Ethernet port 0/1 as
the interface to set the STP cost.
Step 11 spanning-tree vlan 2 cost 30 Set the spanning-tree path cost to 30 for VLAN 2.
Step 12 spanning-tree vlan 3 cost 30 Set the spanning-tree path cost to 30 for VLAN 3.
Step 13 spanning-tree vlan 4 cost 30 Set the spanning-tree path cost to 30 for VLAN 4.
Step 14 end Return to g loba l c onfigura tion m ode .
Step 15 Repeat Steps 9 through 11 on Switch 1 interface Fast Ethe rnet 0/2, and
set the spanni ng-tr ee path c ost to 30 for VLA Ns 8, 9, an d 10.
Step 16 exit Return to privileged EXEC mode.
Step 17 show running-config Verify your e ntrie s.
In the display, verify that the path costs are set correctly for interfaces
Fast Ethernet 0/1 and 0/2.
Step 18 copy running-config startup-config (Optional) Save your entries in the configuration file.