一、概念:
Multiplex vlan:实现网络资源控制的的机制。
/ Principle vlan:port 可以和mux vlan内所有接口进行通信,限制128个
< /Separate vlan:隔离型从vlan,只能和Principal port进行通信,限制1个
\ Subordinate vlan <
\ Group vlan:互通型从vlan,和Principal port、同一接口组内通信,128
二、配置举例:
例:vlan10为Principle vlan,20为Separate vlan,30为Group vlan;
1口为vlan10,2、3口为vlan20,配置为群组vlan,3、4口为vlan30,配置为分隔vlan:
vlan batch 10 20 30
#
vlan 10
subordinate group 20
subordinate separate 30
#
int G0/0/1
port link-type access
port default vlan 10
port mux-vlan enable vlan 10
#
int G0/0/2
port link-type access
port default vlan 20
port mux-vlan enable vlan 20
#
int G0/0/3
port link-type access
port default vlan 20
port mux-vlan enable vlan 20
#
int G0/0/4
port link-type access
port default vlan 30
port mux-vlan enable vlan 30
#
int G0/0/5
port link-type access
port default vlan 30
port mux-vlan enable vlan 30
#
检查结果:1、2、3口二层互通,4、5口二层互不通但和1通