1.配置MUX VLAN
[LSW1]vlan batch 2 3 10
[LSW1]vlan 10
[LSW1-vlan10]mux-vlan
[LSW1-vlan10]subordinate group 2
[LSW1-vlan10]subordinate separate 3
2. 配置接口加入VLAN并使能MUX VLAN功能
[LSW1]port-group vlan2
[LSW1-port-group-vlan2]group-member g0/0/1 to g0/0/2
[LSW1-port-group-vlan2]port link-type access
[LSW1-port-group-vlan2]port default vlan 2
[LSW1-port-group-vlan2]port mux-vlan enable
[LSW1]port-group 3
[LSW1-port-group-3]group-member g0/0/3 to g0/0/4
[LSW1-port-group-3]port link-type access
[LSW1-port-group-3]port default vlan 3
[LSW1-port-group-3]port mux-vlan enable
[LSW1-GigabitEthernet0/0/5]port link-type access
[LSW1-GigabitEthernet0/0/5]port default vlan 10
[LSW1-GigabitEthernet0/0/5]port mux-vlan enable
3.配置PC和server
4.验证
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)