跨设备链路聚合_路由与交换技术(华为设备)第五讲---链路聚合
前言:
隨著網絡規模不斷擴大,用戶對骨干鏈路的帶寬和可靠性提出了越來越高的要求。在傳統技術中,常用更換高速率的接口板或更換支持高速率接口板的設備的方式來增加帶寬,但這種方案需要付出高額的費用,而且不夠靈活。
采用鏈路聚合技術可以在不進行硬件升級的條件下,通過將多個物理接口捆綁為一個邏輯接口,來達到增加鏈路帶寬的目的。在實現增大帶寬目的的同時,鏈路聚合采用備份鏈路的機制,可以有效的提高設備之間鏈路的可靠性。
鏈路聚合概述:
鏈路聚合又稱以太網端口聚合(Aggregate-Port),是指在兩臺交換機之間,物理上將多個端口連接起來形成一個簡單的邏輯端口,將多條鏈路聚合成一條邏輯鏈路。其中,這個邏輯端口被稱為聚合端口(簡稱AP),可以增大鏈路帶寬,解決交換網絡中因帶寬引起的網絡瓶頸問題。多條物理鏈路之間能夠相互冗余備份,其中任意一條鏈路斷開,不會影響到其他鏈路正常轉發數據。
鏈路聚合技術優點:
(1)帶寬增加
(2)增加冗余
(3)負載均衡
(4)實現聚合端口流量平衡
數據流控制:
Eth-Trunk鏈路兩端相連的物理接口的數量、速率、雙工方式、流控方式必須一致。
實驗:
LSW1配置:(LSW1,LSW2配置一樣。)
sys
[Huawei]undo in e
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]undo negotiation auto--關閉自動協商
[Huawei-Ethernet0/0/1]duplex full---配置全雙工方式
[Huawei-Ethernet0/0/1]speed 100---速率
Huawei-Ethernet0/0/1]q
[Huawei]int e0/0/2
[Huawei-Ethernet0/0/2]undo negotiation auto
[Huawei-Ethernet0/0/2]duplex full
[Huawei-Ethernet0/0/2]speed 100
Huawei-Ethernet0/0/2]q
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]int e0/0/1
[Huawei-Ethernet0/0/1]eth-trunk 1
[Huawei-Ethernet0/0/1]int e0/0/2
[Huawei-Ethernet0/0/2]eth-trunk 1
[Huawei-Ethernet0/0/2]q
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]load-balance ?---查看負載均衡的策略
dst-ip According to destination IP hash arithmetic
dst-mac According to destination MAC hash arithmetic
src-dst-ip According to source/destination IP hash arithmetic
src-dst-mac According to source/destination MAC hash arithmetic
src-ip According to source IP hash arithmetic
src-mac According to source MAC hash arithmetic
[Huawei-Eth-Trunk1]load-balance src-ip---設置負載均衡的策略,默認是S/D IP,LSW1和LSW2負載均衡策略一樣
[Huawei-Eth-Trunk1]dis eth-trunk 1
Eth-Trunk1's state information is:
WorkingMode: NORMAL Hash arithmetic: According to SIP
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up Number Of Up Port In Trunk: 2
--------------------------------------------------------------------------------
PortName Status Weight
Ethernet0/0/1 Up 1
Ethernet0/0/2 Up 1
測試:PC1pingPC2
任意斷開一條鏈路:
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]shut
再次PC1pingPC2
可以看到仍然可以通信
總結
以上是生活随笔為你收集整理的跨设备链路聚合_路由与交换技术(华为设备)第五讲---链路聚合的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java 析构函数_C++与Java的区
- 下一篇: arduino读取水位传感器的数据显示在