![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 259](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462259.webp)
12-7
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
vmps-vlan-group Engineering
vlan-name hardware
vlan-name software
!
!Section 5: VLAN PORT POLICIES
!VLAN port Policies
!
!vmps-port-policies {vlan-name <vlan_name> | vlan-group <group-name> }
! { port-group <group-name> | device <device-id> port <port-name> }
!
vmps-port-policies vlan-group Engineering
port-group WiringCloset1
vmps-port-policies vlan-name Green
device 198.92.30.32 port 4/8
vmps-port-policies vlan-name Purple
device 198.4.254.22 port 1/2
port-group “Executive Row”
Configuring the VMPS Server
When you enable VMPS on the VMPS server, the switch downloads the VMPS database from the TFTP
or RCP server and begins accepting VMPS requests.
You can set one primary and up to two backup VMPS servers. The primary VMPS server and backup
VMPS servers do not communicate with each other about the VMPS database. You must enable VMPS
on each server and manually update each VMPS server when you update the VMPS database.
To configure a VMPS server, perform this task in privileged mode. You must complete this task for the
primary and any backup VMPS servers in your network.
This example shows how to set the VMPS database as Bldg-G.db on the TFTP server with the IP address
172.20.22.7 and enable VMPS on the switch:
Console> (enable) set vmps downloadmethod tftp
vmps download method : TFTP
Console> (enable) set vmps tftpserver 172.20.22.7 Bldg-G.db
IP address of the TFTP server set to 172.20.22.7
VMPS configuration filename set to Bldg-G.db
Console> (enable) set vmps state enable
Vlan Membership Policy Server enable is in progress.
Console> (enable)
Task
Command
Step 1
Specify the download method.
set vmps downloadmethod rcp | tftp [username]
Step 2
Configure the IP address of the TFTP or RCP
server on which the ASCII text VMPS database
configuration file resides.
set vmps downloadserver ip_addr [filename]
Step 3
Enable VMPS.
set vmps state enable
Step 4
Verify the VMPS configuration.
show vmps