某企業交換網路綜合配置

2022-09-20 00:06:13 字數 3831 閱讀 5028

專案網路位址規劃

介面

ip位址

子網掩碼

可用銷售部

vlanif10

10.39.10.1

/23510

技術部vlanif20

10.39.20.1

/24254

財務部vlanif30

10.39.30.1

/24254

綜合部vlanif40

10.39.40.1

/24254

研發部vlanif50

10.39.50.1

/23510

1:在各部門配置ip 掩碼 閘道器

銷售部:ip位址10.39.10.1 ,子網掩碼255.255.254.0,閘道器10.39.10.254

技術部:ip位址10.39.20.1 ,子網掩碼255.255.255.0,閘道器10.39.20.254

財務部:ip位址10.39.30.1 ,子網掩碼255.255.255.0,閘道器10.39.30.254

綜合部:ip位址10.39.40.1 ,子網掩碼255.255.255.0,閘道器10.39.40.254

研發部:ip位址10.39.50.1 ,子網掩碼255.255.254.0,閘道器10.39.50.254

2:把介面加入到規劃的vlan中;

lsw1:

sysenter system view, return user view with ctrl+z.

[huawei]vlan bat

[huawei]vlan batch 10 20 30

info: this operation may take a few seconds. please wait for a moment...done.

[huawei]int e

[huawei]int eth

[huawei]int ethernet0/0/1

[huawei-ethernet0/0/1]port link-type access

[huawei-ethernet0/0/1]port default vlan 10

[huawei-ethernet0/0/1]int e0/0/2

[huawei-ethernet0/0/2]port link-type access

[huawei-ethernet0/0/2]port default vlan 20

[huawei-ethernet0/0/2]int e0/0/3

[huawei-ethernet0/0/3]port link-type access

[huawei-ethernet0/0/3]port default vlan 30

lsw2:

sysenter system view, return user view with ctrl+z.

[huawei]vlan b

[huawei]vlan batch 40 50

[huawei]int e0/0/1

[huawei-ethernet0/0/1]port link-type access

[huawei-ethernet0/0/1]port default vlan 40

[huawei-ethernet0/0/1]int e0/0/2

[huawei-ethernet0/0/2]port link-type access

[huawei-ethernet0/0/2]port default vlan 50

3:配置鏈路聚合;

lsw1:

[huawei]int eth-trunk 1

[huawei-eth-trunk1]mode lacp-static

[huawei-eth-trunk1]int g0/0/1

[huawei-gigabitethernet0/0/1]eth-trunk 1

info: this operation may take a few seconds. please wait for a moment...done.

[huawei-eth-trunk1]int g0/0/2

[huawei-gigabitethernet0/0/2]eth-trunk 1

info: this operation may take a few seconds. please wait for a moment...done.

lsw3:[huawei]int eth-trunk 1

[huawei-eth-trunk1]mode lacp-static

[huawei-eth-trunk1]int e0/0/1

[huawei-eth-trunk1]eth-trunk 1

info: this operation may take a few seconds. please wait for a moment...done.

[huawei-ethernet0/0/1]int e0/0/2

[huawei-ethernet0/0/2]eth-trunk 1

info: this operation may take a few seconds. please wait for a moment...done.

右邊lsw2和lsw4配置與上類似

在核心交換機上配置鏈路聚合

lsw5:

[huawei]int eth-trunk 2

huawei-eth-trunk2]int e0/0/2

[huawei-ethernet0/0/2]eth-trunk 2

info: this operation may take a few seconds. please wait for a moment...done.

[huawei-ethernet0/0/2]int e0/0/3

[huawei-ethernet0/0/3]eth

[huawei-ethernet0/0/3]eth-trunk 2

info: this operation may take a few seconds. please wait for a moment...done.

[huawei]vlan batch 10 20 30 40 50

info: this operation may take a few seconds. please wait for a moment...done.

[huawei]int vlan 10

[huawei-vlanif10]ip add 10.39.10.254 23

[huawei-vlanif10]int vlan 20

[huawei-vlanif20]ip add 10.39.20.254 24

[huawei-vlanif20]int vlan 30

[huawei-vlanif30]ip add 10.39.30.254 24

[huawei-vlanif30]int vlan 40

[huawei-vlanif40]ip add 10.39.40.254 24

[huawei-vlanif40]int vlan 50

[huawei-vlanif50]ip add 10.39.50.254 23

lsw6與上類似

5:在交換機配置生成樹協議;

lsw5:

[huawei]stp  enable

[huawei]stp mode stp

[huawei]stp root primary//為主根橋

[huawei]dis stp brief //檢視stp生成樹

lsw6同上

某企業交換網路綜合配置

某企業在不斷發展,業務量也在不斷擴大,同時對計算機網路應用的依賴程度與日俱增.為適應網際網路時代的發展,目前公司正面臨轉型,急需成立it部門.你作為幾年前入職的網路工程師被任命為it部門的技術經理,並擔任本次網路規劃的專案經理.你需要根據企業網路需要優化現有網路資源。假設某企業有員工1000人,有銷...

網路交換網路實驗 二層架構

一 實驗拓撲 二 實驗過程 1 介面部分 1.建立vlan 2.介面劃入vlan 3.trunk幹道 分流預設基於源目ip 4.配置幹道 2 生成樹 1.配置 2.調根埠 sw1 stp instance 1 root primary sw1 stp instance 2 root secondar...

交換網路的建設例項簡析

交換網路的建設例項簡析 乙個企業網路或者說校園網的組建,我們可以分為兩大塊,一是資源子網,二是通訊子網。資源子網包括使用者終端裝置如pc機,以及網路裡對外和對內的伺服器區。而通訊子網是包括網路中的傳輸裝置以及傳輸介質。我們先關注通訊子網這塊。傳輸裝置在企業網或者校園網裡來主要包括交換機和路由器,或者...