拓扑图
配置
MUX-VLAN主VLAN为principal
子VLAN分为Separate隔离型VLAN和Group互通型VLAN
设置为MUX-VLAN后,无法配置VLANIF
sysname SW1
#
vlan batch 10 20 30
#
vlan 30
mux-vlan
subordinate separate 10
subordinate group 20
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
port mux-vlan enable
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
port mux-vlan enable
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 20
port mux-vlan enable
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 20
port mux-vlan enable
#
interface GigabitEthernet0/0/5
port link-type access
port default vlan 30
port mux-vlan enable