#eth-trunk配置:
sw1 :
int eth-trunk 2
mode lacp-static
trunkport gi 0/0/2
trunkport gi 0/0/3
sw2 :
int eth-trunk 2
mode lacp-static
trunkport gi 0/0/1
trunkport gi 0/0/2
sw3 :
int eth-trunk 1
mode lacp-static
trunkport Ethernet 0/0/4
trunkport Ethernet 0/0/5
sw6 :
int eth-trunk 1
mode lacp-static
trunkport Ethernet 0/0/1
trunkport Ethernet 0/0/3
sw5:
vlan batch 2 to 5999
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2999#
interface Ethernet0/0/2
port link-type access
port default vlan 2
sw6:
vlan batch 2 to 5999
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 3999#
interface Ethernet0/0/2
port link-type access
port default vlan 3
sw3:
vlan batch 2 to 5999
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 3999
mode lacp-static
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2999
sw7:
vlan batch 2 to 5999
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface Ethernet0/0/2
port link-type access
port default vlan 4#
interface Ethernet0/0/3
port link-type access
port default vlan 5
sw4:
vlan batch 2 to 5999
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4 to 5999
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 4 to 5999
sw8:
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 200999#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 200999#
interface Ethernet0/0/3
port link-type access
port default vlan 200#
interface Ethernet0/0/4
port link-type access
port default vlan 200
sw1:
vlan batch 2 to 5200800999
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 5200999
mode lacp-static
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 200999#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 800
sw2:
vlan batch 2 to 5200801999
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 5200999
mode lacp-static
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 200999#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 801