LSW1-------------------------------------------------------
vlan batch 10 20 30
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20 30
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 20
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 30
LSW4-----------------------------------------------
vlan batch 100 200 300
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100 200 300
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 200
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 300
LSW2===============================
vlan 200
interface GigabitEthernet0/0/1
port link-type dot1q-tunnel
port default vlan 200
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 200
LSW3-------------------------------------------------
vlan 200
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 200
#
interface GigabitEthernet0/0/2
port link-type dot1q-tunnel
port default vlan 200
LSW5--------------
vlan 500
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 500
#
interface GigabitEthernet0/0/2
qinq vlan-translation enable
port link-type trunk
port trunk allow-pass vlan 500
port vlan-mapping vlan 200 map-vlan 500
LSW6=============================
vlan 500
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 500
#
interface GigabitEthernet0/0/2
qinq vlan-translation enable
port link-type trunk
port trunk allow-pass vlan 500
port vlan-mapping vlan 200 map-vlan 500
---------------------------------------------------------
等于access
port hybrid pvid vlan 200
port hybrid untagged vlan 200