需求:網絡
公司網絡已經運行好多年了,因爲當初設計缺陷,整個公司在一個VLAN中,存在大量的廣播風暴,嚴重影響了公司使用網絡,公司領導決定更換華爲設備而且從新劃分VLAN,可是不改變終端PC的設置。經論證決定採用super-VLAN.劃分財務部使用VLAN 10,工程部使用VLAN 20,super-VLANW爲30.ide
拓撲以下:設計
匯聚交換機配置:blog
vlan batch 10 20 30 100
#
vlan 30
aggregate-vlan
access-vlan 10 20
#
interface Vlanif30
ip address 10.1.1.254 255.255.255.0
arp-proxy inter-sub-vlan-proxy enable
#
interface Vlanif100
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10 20
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 100
#ip
LSW2配置:get
#
vlan batch 10
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
#
LSW3配置:it
#
vlan batch 20
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 20
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20
io