16-24
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-12
Chapter 16      Configuring VLANs
    Configuring VMPS
Beginning in privileged EXEC mode, follow these steps to configure the network shown in Figure 16-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 Query Protocol (VQP). VMPS dynamically assigns dynamic access port VLAN 
membership. This section includes this information about configuring VMPS:
• “Understanding VMPS” section on page 16-25
• “Default VMPS Client Configuration” section on page 16-26
• “VMPS Configuration Guidelines” section on page 16-26
• “Configuring the VMPS Client” section on page 16-27
• “Monitoring the VMPS” section on page 16-30
• “Troubleshooting Dynamic Port VLAN Membership” section on page 16-30
• “VMPS Configuration Example” section on page 16-31
Command Purpose
Step 1
configure terminal Enter global configuration mode on Switch A.
Step 2
interface fastethernet 0/1 Enter interface configuration mode, and define Fast Ethernet port 0/1as 
the interface to be configured as a trunk.
Step 3
switchport mode trunk Configure the port as a trunk port.
Step 4
exit Return to global configuration mode.
Step 5
Repeat Steps 2 through 4 on Switch A interface Fast Ethernet 0/2.
Step 6
end Return to privileged EXEC mode.
Step 7
show running-config Verify your entries.
In the display, make sure that interfaces Fast Ethernet 0/1 and Fast 
Ethernet 0/2 are configured as trunk ports.
Step 8
show vlan When the trunk links come up, Switch A receives the VTP information 
from the other switches. Verify that Switch A has learned the VLAN 
configuration.
Step 9
configure terminal Enter global configuration mode.
Step 10
interface fastethernet 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-4 cost 30 Set the spanning-tree path cost to 30 for VLANs 2 through 4.
Step 12
end Return to global configuration mode.
Step 13
Repeat Steps 9 through 11 on Switch A interface Fast Ethernet 0/2, and 
set the spanning-tree path cost to 30 for VLANs 8, 9, and 10.
Step 14
exit Return to privileged EXEC mode.
Step 15
show running-config Verify your entries.
In the display, verify that the path costs are set correctly for interfaces 
Fast Ethernet 0/1 and 0/2.
Step 16
copy running-config startup-config (Optional) Save your entries in the configuration file.