欢迎来到天天文库
浏览记录
ID:40528141
大小:21.00 KB
页数:4页
时间:2019-08-04
《51CTO下载-基于MAC的动态VLAN啊》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、!Section1:GLOBALSETTINGS!VMPSFileFormat,version1.1!Alwaysbegintheconfigurationfilewith!theword"VMPS"!!vmpsdomain!TheVMPSdomainmustbedefined.!vmpsmode{open
2、secure}!Thedefaultmodeisopen.!vmpsfallback!vmpsno-domain-req{allow
3、deny}!!Thedefaultvalueisallow.
4、vmpsdomainWBUvmpsmodeopenvmpsfallbackdefaultvmpsno-domain-reqdeny!!Section2:MACADDRESSES!MACAddressesvmps-mac-addrs!!addressvlan-name!address0012.2233.4455vlan-namehardwareaddress0000.6509.a080vlan-namehardwareaddressaabb.ccdd.eeffvlan-nameGreenaddress1223.56
5、78.9abcvlan-nameExecStaffaddressfedc.ba98.7654vlan-name--NONE--addressfedc.ba23.1245vlan-namePurple!!Section3:PORTGROUPS!PortGroups!vmps-port-group!device{port
6、all-ports}!vmps-port-groupWiringCloset1device198.92.30.32port3/2device172.20.26.14
7、1port2/8vmps-port-group"ExecutiveRow"device198.4.254.222port1/2device198.4.254.222port1/3device198.4.254.223all-ports!!Section4:VLANGROUPS!VLANgroups!!vmps-vlan-group!vlan-name!vmps-vlan-groupEngineeringvlan-namehardwarevlan-namesoftware!!Section5:VLANP
8、ORTPOLICIES!VLANportPolicies!!vmps-port-policies{vlan-name
9、vlan-group}!{port-group
10、deviceport}!vmps-port-policiesvlan-groupEngineeringort-groupWiringCloset1vmps-port-policiesvlan-nameGreendevice198.92.30.32port4/8vmps-p
11、ort-policiesvlan-namePurpledevice198.4.254.22port1/2ort-group"ExecutiveRow"用CISCO65型号的交换机可以实现,其他型号不清楚
此文档下载收益归作者所有