Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19006948
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-21 09:24:25

!VMPS File format, version 1.1
! Always begin the configuration file with
! the word "VMPS"
!
!vmps domain
! The VMPS domain must be defined.
!vmps mode {open | secure}
! The default mode is open.
!vmps fallback
!vmps no-domain-req { allow | deny }
!
! The default value is allow.
vmps domain cisco
vmps mode secure
vmps fallback default
vmps no-domain-req deny
!
!
!MAC Addresses
!
vmps-mac-addrs
!
! address vlan-name
!
address 5254.AB3B.FC20 vlan-name cisco
address 000A.EB22.057F vlan-name cisco
address 0010.7b7f.790e vlan-name aaa
address 00-E0-4C-72-2C-C1 vlan-name bbb
address 1223.5678.9abc vlan-name ddd
address fedc.ba98.7654 vlan-name --NONE--
address fedc.ba23.1245 vlan-name ccc
!
!Port Groups
!
!vmps-port-group
! device { port | all-ports }
!
vmps-port-group WiringCloset1
device 192.168.10.199 port 2/1
device 192.168.10.199 port 2/2
device 192.168.10.199 port 2/3
device 192.168.10.198 port Fa0/5
device 192.168.10.198 port Fa0/6
device 192.168.10.198 port Fa0/7
device 192.168.10.198 port Fa0/8
vmps-port-group "Executive Row"
device 192.168.10.198 port Fa0/1
device 192.168.10.198 port Fa0/2
device 192.168.10.198 port Fa0/3
device 192.168.10.198 port Fa0/4
!
!
!VLAN groups
!
!vmps-vlan-group
! vlan-name
!
vmps-vlan-group Engineering
vlan-name cisco
vlan-name aaa
!
!
!VLAN port Policies
!
!vmps-port-policies {vlan-name | vlan-group }
! { port-group | device port }
!
vmps-port-policies vlan-group Engineering
port-group WiringCloset1
vmps-port-policies vlan-name bbb
device 192.168.10.198 port Fa0/9
vmps-port-policies vlan-name Purple
device 192.168.10.198 port Fa0/10
port-group "Executive Row"

阅读(232) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~