1.MUX VLAN基础配置
[SW1]vlan batch 10 20 30 100
[SW1]vlan 100
[SW1-vlan100]mux-vlan
[SW1-vlan100]subordinate group 10 20
//指定group VLAN
[SW1-vlan100]subordinate separate 30
//指定separate VLAN
2.接口加入指定VLAN,使能mux-vlan
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]port link-type access
[SW1-port-group-dis]port default vlan 10
[SW1-port-group-dis]port mux-vlan enable
[SW1]interface GigabitEthernet 0/0/2
[SW1-GigabitEthernet0/0/2]port link-type access
[SW1-port-group-dis]port default vlan 10
[SW1-port-group-dis]port mux-vlan enable
[SW1]interface GigabitEthernet 0/0/3
[SW1-GigabitEthernet0/0/3]port link-type access
[SW1-port-group-dis]port default vlan 20
[SW1-port-group-dis]port mux-vlan enable
[SW1]interface GigabitEthernet 0/0/4
[SW1-GigabitEthernet0/0/4]port link-type access
[SW1-port-group-dis]port default vlan 20
[SW1-port-group-dis]port mux-vlan enable
[SW1]interface GigabitEthernet 0/0/5
[SW1-GigabitEthernet0/0/5]port link-type access
[SW1-port-group-dis]port default vlan 30
[SW1-port-group-dis]port mux-vlan enable
[SW1]interface GigabitEthernet 0/0/6
[SW1-GigabitEthernet0/0/6]port link-type access
[SW1-port-group-dis]port default vlan 30
[SW1-port-group-dis]port mux-vlan enable
[SW1]interface GigabitEthernet 0/0/24
[SW1-GigabitEthernet0/0/24]port link-type access
[SW1-port-group-dis]port default vlan 100
[SW1-port-group-dis]port mux-vlan enable
3.查看mux-vlan
[SW1]display mux-vlan
Principal Subordinate Type Interface
100 - principal GigabitEthernet0/0/24
100 30 separate GigabitEthernet0/0/5 GigabitEthernet0/0/6
100 10 group GigabitEthernet0/0/2
100 20 group GigabitEthernet0/0/3 GigabitEthernet0/0/4
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容