LSW17
LSW17创建vlan [Huawei]vlan batch 20 10 设置端口的pvid,并设置为 untagged 字段(主机并不认识tag字段) [Huawei-Ethernet0/0/2]port hybrid pvid vlan 20 [Huawei-Ethernet0/0/2]port hybrid untagged vlan 20 [Huawei-Ethernet0/0/3]port hybrid pvid vlan 10 [Huawei-Ethernet0/0/3]port hybrid untagged vlan 10 设置tag字段 [Huawei-Ethernet0/0/1]port hybrid tagged vlan 10 20
LSW18
LSW18创建vlan [Huawei]vlan batch 20 30 设置端口的pvid,并设置为 untagged 字段(主机并不认识tag字段) [Huawei-Ethernet0/0/2]port hybrid pvid vlan 20 [Huawei-Ethernet0/0/2]port hybrid untagged vlan 20 [Huawei-Ethernet0/0/3]port hybrid pvid vlan 30 [Huawei-Ethernet0/0/3]port hybrid untagged vlan 30 设置tag字段 [Huawei-Ethernet0/0/1]port hybrid tagged vlan 20 30
LSW19
LSW19创建vlan [Huawei]vlan batch 20 10 设置端口的pvid,并设置为 untagged 字段(主机并不认识tag字段) [Huawei-Ethernet0/0/2]port hybrid pvid vlan 10 [Huawei-Ethernet0/0/2]port hybrid untagged vlan 10 [Huawei-Ethernet0/0/3]port hybrid pvid vlan 20 [Huawei-Ethernet0/0/3]port hybrid untagged vlan 20 设置tag字段 [Huawei-Ethernet0/0/1]port hybrid tagged vlan 10 20
LSW20
LSW20创建vlan [Huawei]vlan batch 30 设置端口的pvid,并设置为 untagged 字段(主机并不认识tag字段) [Huawei-Ethernet0/0/2]port hybrid pvid vlan 30 [Huawei-Ethernet0/0/2]port hybrid untagged vlan 30 设置tag字段 [Huawei-Ethernet0/0/1]port hybrid tagged vlan 30
LSW20
LSW5
LSW5创建vlan [Huawei]vlan batch 10 20 30 [Huawei-GigabitEthernet0/0/1]port hybrid tagged vlan 10 20 [Huawei-GigabitEthernet0/0/2]port hybrid tagged vlan 20 30 [Huawei-GigabitEthernet0/0/3]port hybrid tagged vlan 10 20 30
LSW6:
LSW6创建vlan [Huawei]vlan batch 10 20 30 [Huawei-GigabitEthernet0/0/2]port hybrid tagged vlan 10 20 [Huawei-GigabitEthernet0/0/3]port hybrid tagged vlan 30 [Huawei-GigabitEthernet0/0/4]port hybrid tagged vlan 10 20 30
LSW9:
LSW9创建vlan [Huawei]vlan batch 10 20 30 [Huawei-GigabitEthernet0/0/1]port hybrid tagged vlan 10 20 30 [Huawei-GigabitEthernet0/0/2]port hybrid tagged vlan 10 20 30
ping命令检测: