1000人网络设计-vlan、trunk、eth-trunk配置
![网络拓扑图](https://i-blog.csdnimg.cn/blog_migrate/9c7dbb16db6eb38d735dc9204d24a92b.png)
步骤1. vlan trunk eth-trunk配置
接入SW8:
vlan bath 200 900
interface Eth-trunk1
port link-type trunk
port trunk allow-pass vlan 200 900
mode lacp-static
trunkport gi 0/0/1 0/0/2
interface Ethernet 0/0/2
port link-type access
port default vlan 200
interface Ethernet 0/0/3
port link-type access
port default vlan 200
核心SW1:
vlan batch 200 900 800 10 20 30 40
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 200 900
mode lacp-static
trunkport gi 0/0/2 0/0/5
interface GigabitEthernet0/0/24
port link-type access
port default vlan 800
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20 900
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 30 900
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 40 900
接入SW5:
vlan batch 10 900
interface Ethernet0/0/2
port link-type access
port default vlan 10
interface Ethernet0/0/3
port link-type access
port default vlan 10
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 900
接入SW6:
vlan batch 20 900
interface Ethernet0/0/14
port link-type access
port default vlan 20
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 20 900
汇聚SW2:
vlan batch 10 20 900
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20 900
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10 900
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 20 900
接入SW7:
vlan batch 30 900
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 30 900
interface Ethernet0/0/1
port link-type access
port default vlan 30
interface Ethernet0/0/2
port link-type access
port default vlan 30
汇聚SW3:
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 30 900
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 30 900
接入SW9:
vlan batch 40 900
interface Ethernet0/0/2
port link-type access
port default vlan 40
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 40 900
汇聚SW4:
vlan 40 900
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 40 900
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 40 900