cc/td/doc/product/rtrmgmt/cw2000/camp_mgr/cwsi_2x/cwsi_2_2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Managing VMPS Servers and Dynamic VLANs

Managing VMPS Servers and Dynamic VLANs

You can use the UserTracking application to manage dynamic VLANs using the VLAN Management Policy Server (VMPS). The UserTracking application also allows you to update the port mapping information located in the VMPS server.

This chapter describes the following topics:

Understanding VMPS

VMPS allows you to assign a switch port to a VLAN dynamically, based on the source Media Access Control (MAC) address of the host connected to the port. With dynamic ports, you can move a host from a port on one switch to a port on another switch in the network. The port to which you connect the host will then be assigned to the proper VLAN. You must have at least one Catalyst 5000 switch running VMPS in each network domain in which you use dynamic ports.

When a workstation or other end-user node is attached to a dynamic port, the switch uses VMPS information to assign that port to a particular VLAN based on the MAC address of the network interface card in the end-station device. When the device is moved and plugged into another port, VMPS provides configuration information from the MAC-to-VLAN mapping that allows the device to remain on the same VLAN as before without manual reconfiguration.

Without VMPS, each port is statically assigned to a single VLAN. To change the VLAN assigned to a static port, you need to manually change the VLAN assignment of the port. When you move a device and connect it to a different port, you need to manually reconfigure the port. You can use the VlanDirector application, CiscoView, or the command-line interface to manually do this reconfiguration. VMPS provides an automated method for moving and configuring users within VLANs on a network. The UserTracking application allows you to define which end-user nodes are supported by this dynamic process.

Using VMPS

Dynamic ports work in conjunction with VMPS servers, which contain the database of MAC-to-VLAN mappings. When the client is connected, a dynamic port is isolated from its static VLAN. The switch sends the source MAC address from the first packet of a new host on the dynamic port to the VMPS server, which provides the VLAN number to which this port must be assigned.

Multiple hosts (MAC addresses) can be active on a dynamic port if they are all in the same VLAN. When the client is disconnected, a dynamic port moves back to a state in which it is isolated from other VLANs, and the port ends in its initial state.

The VMPS mapping information you specify in the UserTracking application is used only when you connect an end-user node to a dynamic port. When you connect an end-user node to a static port, the node is connected to the VLAN that is statically associated with that port. The UserTracking information about MAC-to-VLAN mappings does not apply to these nodes, but basic identification and location information about the nodes is displayed in the UserTracking application.

Dynamic VLAN Management Overview

Table 3-1 is a quick overview of dynamic VLAN management in your network. For a more detailed description refer to these sections.


Table 3-1: Dynamic VLAN Management Overview
Task Description Configuration Tools Section

Configure the VMPS database file and enable the VMPS server on the Catalyst switch.

Command Line Interface, FTP, CiscoView

"Configuring VMPS"

Specify login information for one or more TFTP servers, review or enter new configuration information that is not generated by UserTracking, and update the TFTP servers.

UserTracking application

"Configuring TFTP Information"

Select which VTP domains to update the VMPS servers and update the servers.

UserTracking application

"Updating VMPS Servers"

Configuring VMPS

To use dynamic ports you must first configure VMPS servers. For VMPS servers to work with UserTracking you need both File Transfer Protocol (FTP) and Trivial File Transfer Protocol (TFTP) servers. Catalyst switches use TFTP to retrieve the VMPS information. UserTracking uses FTP to read and write to the TFTP server. A TFTP server is installed when you install Resource Manager Essentials. The TFTP and FTP servers can be on any computer in the network as long as the Catalyst switch and the system on which the UserTracking application is located are able to access it.

You can use CiscoView or the command-line interface to configure the VMPS server. To configure the VMPS server, follow these steps:

Step 1 Create a VMPS database file on the TFTP server home directory.

You can specify any filename. The default name the VMPS server requests is vmps-config-database.1.

The minimum information that you must place in the file is as follows:

    vmps domain domain_name
    vmps mode open
    vmps fallback backup_vlan
     
    

The domain name must match the switch VTP domain. The backup VLAN should be the VLAN that you want users placed in if the VMPS server receives a mapping request for a MAC address that is not in the table.

Step 2 Enable the VMPS server on a Catalyst switch:

    set vmps tftpserver ip_address
    set vmps state enable
     
    

Step 3 Set the IP address of the VMPS client which your dynamic ports will reside on:

    set vmps server ip_address
     
    

Step 4 To see which server is primary or backup, enter the following command:

    show vmps
     
    

Step 5 Repeat Step 3 for other Catalyst switches that are VMPS clients in your domain.

You are now ready to create dynamic VLANs in your network. For instructions see the "Configuring TFTP Information" section.

For more information, refer to "Configuring Dynamic Port VLAN Membership with VMPS" in the Catalyst 5000 Series Software Configuration Guide.

Configuring TFTP Information

When you download the UserTracking information to VMPS, you send configuration information stored in the CWSI Campus database to one or more VMPS servers. However, because UserTracking cannot download to a VMPS server directly, it uses an intermediate TFTP server, and an FTP server to transfer this information. Therefore, to download to a VMPS server, you need to do the following tasks:


Note The login information you specify in the TFTP Configuration window is actually the login information for the FTP server which the UserTracking application uses.

Note Be careful to not modify the VTP domain entry in the TFTP Configuration window. If you modify this entry, UserTracking may no longer recognize the VMPS server.

Updating TFTP Servers

To update the TFTP servers, complete the following tasks:

To provide login information, you need the username and password for each FTP server and the name of the directory on the TFTP server where the configuration file is stored. The default directory is the TFTP home directory /tftpboot.
After you have supplied FTP server login information, you do not need to do this step again unless you use different FTP servers or the login information changes. The UserTracking application maintains the login information for later TFTP access.
When you download the information from a UserTracking table to the VMPS server, you affect only those fields that UserTracking displays and allows you to modify. Other values, such as port restriction information, are stored by the VMPS server. You cannot directly access and change these values in a UserTracking table, but you can modify them by manually editing the values when you log in to the TFTP server.

To update the TFTP server, follow these steps:

Step 1 Select Action>Configure TFTP Servers from the UserTracking main window.

The TFTP Configuration window opens (Figure 3-1). The VTP domains for where you might access TFTP and VMPS information are displayed in the Select Domain list.


Figure 3-1: TFTP Configuration Window

Step 2 Select a VTP domain from the Select Domain list.

The TFTP Servers area displays the IP address or host name and default directory for each TFTP server that provides VMPS information to the selected domain.

Step 3 For each TFTP server you want to update, follow these steps:

Step 4 Click Apply.

UserTracking checks that the password pairs you have entered are identical. If they do not match, an error message is displayed, and you must reenter the passwords and click Apply again.

To discard all the information you have entered in the TFTP Servers area and restore the login information to its state when it was last downloaded or applied, click Restore.

Step 5 Click again on the VTP domain to display the configuration.

Information that is not generated by UserTracking is displayed in the TFTP Groups and Port Restrictions area. This display includes only the values that you cannot edit in a UserTracking table. It does not include the MAC-to-VLAN mapping information. If the text area remains blank, no information exists in the configuration file that was generated by any application other than the UserTracking application.

Step 6 Review and make any necessary changes in the displayed configuration file.

Any information you enter here will be written to the configuration file when you update the TFTP server.

Step 7 Click Apply to save the displayed configuration within UserTracking.

Click Restore to discard all the information you have entered in the TFTP Groups and Port Restrictions area and restore the configuration information to its state when it was last downloaded or applied.

Step 8 Click Download to download the configuration to the TFTP servers in the selected domain.

To update TFTP servers in other VTP domains, repeat Step 2 through Step 8.

Step 9 Click Close.


Note After you have downloaded the configuration to the TFTP servers, you can use Telnet to access the file and display all the information, including groups, port restrictions, and MAC-to-VLAN mappings. However, you should not modify the file. The subsequent results with respect to UserTracking are not defined.

Modifying Mapping Information

The TFTP configuration file has two groups of information:

MAC-to-VLAN Mapping Information

The UserTracking application generates MAC-to-VLAN information from the UserTracking data stored in the CWSI Campus database. UserTracking acquires information from the network and from modifications and additions made by users from UserTracking.

You cannot modify the contents of the MAC-to-VLAN mappings that UserTracking creates. If you want to examine the mappings that UserTracking generates, you can view the file on the TFTP server after you download it to the TFTP server from UserTracking.

When creating the mapping file to send to the TFTP server, UserTracking uses only the information from its tables. If you change the TFTP file from outside of the UserTracking application, the changes you make will not be included in the subsequent mapping files created by UserTracking and which are downloaded to the TFTP server.

Groups and Ports Restrictions Information

The UserTracking application does not generate or modify the Groups and Ports Restrictions information. UserTracking reads this information from the TFTP servers in your network and displays it in the text area of the Configure TFTP Servers window.

You can modify this information and then click the Apply button at the bottom of the window. When you click Apply the UserTracking client sends the changes you have made to the ANI server. Clicking Apply does not update the TFTP server. To have UserTracking build a mapping file with MAC-to-VLAN mappings and Group and Port Restrictrions information and send it to the TFTP server, click Download.

Updating VMPS Servers

After you update the TFTP servers with the current configuration information, you can update the VMPS servers.


Note You
are updating from the TFTP servers, not from the configurations stored locally by UserTracking. Unless you are certain that the TFTP servers have the current information you want to use when updating, you should verify that information from the TFTP Configuration window, as described in "Updating TFTP Servers" for more information.

To update the VMPS servers, follow these steps:

Step 1 Select Action>Update VMPS Servers from the UserTracking main window.

The Update VMPS Servers window opens (Figure 3-2).


Figure 3-2: Update VMPS Servers Window

Step 2 Select the VTP domains where you want to update VMPS servers.

Step 3 Click Update to update the selected VMPS servers from the TFTP server.

The UserTracking application sends a message to each of the VMPS servers in the domains you selected instructing the VMPS server to retrieve the mapping file from its TFTP server.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Sep 30 12:05:28 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.