![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 258](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462258.webp)
12-6
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 12 Configuring Dynamic VLAN Membership with VMPS
Configuring VMPS
The example at the end of this section has three VLAN port policies specified:
–
In the first VLAN port policy, the VLAN hardware or software is restricted to port 3/2 on the
VMPS client 198.92.30.32 and port 2/8 on the VMPS client 172.20.23.141.
–
In the second VLAN port policy, the devices that are specified in VLAN Green can connect
only to port 4/8 on the VMPS client 198.92.30.32.
–
In the third VLAN port policy, the devices that are specified in VLAN Purple can connect to
only port 1/2 on the VMPS client 198.4.254.22 and the ports that are specified in the port group
Executive Row.
This example shows a sample VMPS database configuration file:
!Section 1: GLOBAL SETTINGS
!VMPS File Format, version 1.1
! Always begin the configuration file with
! the word “VMPS”
!
!vmps domain <domain-name>
! The VMPS domain must be defined.
!vmps mode {open | secure}
! The default mode is open.
!vmps fallback <vlan-name>
!vmps no-domain-req { allow | deny }
!
! The default value is allow.
vmps domain WBU
vmps mode open
vmps fallback default
vmps no-domain-req deny
!
!Section 2: MAC ADDRESSES
!MAC Addresses
vmps-mac-addrs
!
! address <addr> vlan-name <vlan_name>
!
address 0012.2233.4455 vlan-name hardware
address 0000.6509.a080 vlan-name hardware
address aabb.ccdd.eeff vlan-name Green
address 1223.5678.9abc vlan-name ExecStaff
address fedc.ba98.7654 vlan-name --NONE--
address fedc.ba23.1245 vlan-name Purple
!
!Section 3: PORT GROUPS
!Port Groups
!vmps-port-group <group-name>
! device <device-id> { port <port-name> | all-ports }
!
vmps-port-group WiringCloset1
device 198.92.30.32 port 3/2
device 172.20.26.141 port 2/8
vmps-port-group “Executive Row”
device 198.4.254.222 port 1/2
device 198.4.254.222 port 1/3
device 198.4.254.223 all-ports
!
!Section 4: VLAN GROUPS
!VLAN groups
!
!vmps-vlan-group <group-name>
! vlan-name <vlan-name>
!