Example 55 VLAN Database Example

!PART 1: GLOBAL SETTINGS !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. ! The VMPS domain name MUST MATCH the VTP domain name. vmps domain testvtp vmps mode open vmps fallback default vmps no-domain-req deny ! ! !PART 2: MAC ADDRESS DATABASE !MAC Addresses ! vmps-mac-addrs ! ! address <addr> vlan-name <vlan_name> ! address 0060.0893.dbc1 vlan-name Engineering address 0060.08aa.5279 vlan-name --NONE-- address 0060.08b6.49fb vlan-name Engineering ! !PART 3: OTHER POLICIES !Port Groups ! !vmps-port-group <group-name> ! device <device-id> { port <port-name> | all-ports } vmps-port-group restrictengineering device 172.16.1.2 port 3/1 device 172.16.1.2 port 3/2 device 172.16.1.3 port 4/1 device 172.16.1.3 port 4/3 device 172.16.1.3 port 4/5 ! ! ! !VLAN groups ! USE THIS TO ASSOCIATE A GROUP OF VLANs TOGETHER. THE DATABASE TREATS ! ALL OF THE VLANs AS A SINGLE GROUP. ! !vmps-vlan-group <group-name> ! vlan-name <vlan-name> ! ! ! !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-name port-group restrictengineering !

Was this article helpful?

0 0

Post a comment