13-24
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter13 Configuring VLANs
Configuring VMPS
Beginning in privileged EXEC mode, follow these steps to configure the network shown in Figure13-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 13-2 5
Default VMPS Configuration section on page 13-27
VMPS Configuration Guidelines section on page 13-28
Configuring the VMPS Client section on page 13-28
Command Purpose
Step1 configure terminal Enter global configuration mode on Switch 1.
Step2 interface fastethernet 0/1 Enter interface configuration mode, and define Fast Ethernet port 0/1 as
the interface to be configured as a trunk.
Step3 switchport mode trunk Configure the port as a trunk port.
Step4 exit Return to global configuration mode.
Step5 Repeat Steps 2 through 4 on Switch 1 interface Fast Ethernet 0/2.
Step6 end Return to privileged EXEC mode.
Step7 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.
Step8 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.
Step9 configure terminal Enter global configuration mode.
Step10 interface fastethernet 0/1 Enter interface configuration mode, and define Fast Ethernet port 0/1 as
the interface to set the STP cost.
Step11 spanning-tree vlan 2 cost 30 Set the spanning-tree path cost to 30 for VLAN 2.
Step12 spanning-tree vlan 3 cost 30 Set the spanning-tree path cost to 30 for VLAN 3.
Step13 spanning-tree vlan 4 cost 30 Set the spanning-tree path cost to 30 for VLAN 4.
Step14 end Return to global configuration mode.
Step15 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.
Step16 exit Return to privileged EXEC mode.
Step17 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.
Step18 copy running-config startup-config (Optional) Save your entries in the configuration file.