19-12
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 19 Configuring Dynamic Port VLAN Membership with VMPS
Dynamic Port VLAN Membership with VMPS Configuration Examples
Dynamic Port VLAN Membership Configuration Example
Figure 19-1
shows a network with a VMPS server switch and VMPS client switches with dynamic ports.
In this example, these assumptions apply:
•
The VMPS server and the VMPS client are separate switches.
•
Switch 1 is the primary VMPS server.
•
Switch 3 and Switch 10 are secondary VMPS servers.
•
End stations are connected to these clients:
–
Switch 2
–
Switch 9
•
The database configuration file is called Bldg-G.db and is stored on a TFTP server with IP address
172.20.22.7.
To configure VMPS and dynamic ports, perform these steps:
Step 1
Configure Switch 1 as the primary VMPS server.
a.
Configure the IP address of the TFTP server on which the ASCII file resides:
Console> (enable)
set vmps tftpserver 172.20.22.7 Bldg-G.db
b.
Enable VMPS:
Console> (enable)
set vmps state enable
After entering these commands, the file Bldg-G.db is downloaded to Switch 1. Switch 1 becomes the
VMPS server.
Step 2
Configure the VMPS server addresses on each VMPS client.
a.
Configure the primary VMPS server IP address:
Console> (enable)
set vmps server 172.20.26.150 primary
b.
Configure the secondary VMPS server IP addresses:
Console> (enable)
set vmps server 172.20.26.152
Console> (enable)
set vmps server 172.20.26.159
c.
Verify the VMPS server addresses:
Console> (enable)
show vmps server
Step 3
Configure port 3/1 on Switch 2 as dynamic.
Console> (enable)
set port membership 3/1 dynamic
Step 4
Connect End Station 2 on port 3/1. When End Station 2 sends a packet, Switch 2 sends a query to the
primary VMPS server, Switch 1. Switch 1 responds with the VLAN to assign to port 3/1. Because
spanning-tree PortFast mode is enabled by default on dynamic ports, port 3/1 connects immediately and
enters forwarding mode.
Step 5
Repeat Steps 2 and 3 to configure the VMPS server addresses and assign dynamic ports on each VMPS
client switch.