以太網(wǎng)鏈路聚合典型配置舉例_第1頁(yè)
以太網(wǎng)鏈路聚合典型配置舉例_第2頁(yè)
以太網(wǎng)鏈路聚合典型配置舉例_第3頁(yè)
以太網(wǎng)鏈路聚合典型配置舉例_第4頁(yè)
以太網(wǎng)鏈路聚合典型配置舉例_第5頁(yè)
已閱讀5頁(yè),還剩12頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、1.8以太網(wǎng)鏈路聚合典型配置舉例說(shuō)明在聚合組中,只有端口屬性類配置(請(qǐng)參見(jiàn)“1.1 4.配置分類”)和第二類配 置(請(qǐng)參見(jiàn)“1.1 4.配置分類”)都與參考端口(請(qǐng)參見(jiàn)“1.1 5.參考端口” ) 相同的成員端口才可以成為選中端口。因此,用戶需通過(guò)配置使各成員端口的上 述配置與參考端口保持一致,而除此以外的其它配置則只需在聚合接口上進(jìn)行, 不必再在成員端口上重復(fù)配置。1.8.1二層靜態(tài)聚合配置舉例組網(wǎng)需求 Device A與Device B通過(guò)各自的二層以太網(wǎng)端口 GigabitEthernet 1/0/1 GigabitEthernet 1/0/3 相互連接。 在Device A和Devic

2、e B上分別配置二層靜態(tài)鏈路聚合組,并使 兩端的VLAN 10和VLAN 20之間分別互通。 通過(guò)按照?qǐng)?bào)文的源MAC地址和目的MAC地址進(jìn)行聚合負(fù)載分擔(dān)的 方式,來(lái)實(shí)現(xiàn)數(shù)據(jù)流量在各成員端口間的負(fù)載分擔(dān)。組網(wǎng)圖圖1-5二層靜態(tài)聚合配置組網(wǎng)圖配置步驟配置 Device A創(chuàng)建 VLAN 10,并將端口 GigabitEthernet 1/0/4 加入到該 VLAN 中。 system-viewDeviceA vlan 10DeviceA-vlan10 port gigabitethernet 1/0/4DeviceA-vlan10 quit創(chuàng)建 VLAN 20,并將端口 GigabitEthern

3、et 1/0/5 加入到該 VLAN 中。DeviceA vlan 20DeviceA-vlan20 port gigabitethernet 1/0/5DeviceA-vlan20 quit#創(chuàng)建二層聚合接口 1。DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregation1 quit分別將端口 GigabitEthernet 1/0/1 至 GigabitEthernet 1/0/3 加入到聚合組 1中。DeviceA interface gigabitethernet 1/0/1DeviceA-GigabitEthern

4、et 1/0/1 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/1 quitDeviceA interface gigabitethernet 1/0/2DeviceA-GigabitEthernet 1/0/2 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/2 quitDeviceA interface gigabitethernet 1/0/3DeviceA-GigabitEthernet 1/0/3 port link-aggregation group

5、 1#配置二層聚合接口 1為Trunk端口,并允許VLAN 10和20的報(bào)文通過(guò)。DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregationl port link-type trunkDeviceA-Bridge-Aggregation1 port trunk permit vlan 10 20Please wait. Done.Configuring GigabitEthernet 1/0/1. Done.Configuring GigabitEthernet 1/0/2. Done.Configuring Gigabit

6、Ethernet 1/0/3. Done.DeviceA-Bridge-Aggregation1 quit#配置全局按照?qǐng)?bào)文的源MAC地址和目的MAC地址進(jìn)行聚合負(fù)載分擔(dān)。DeviceA link-aggregation load-sharing mode source-mac destination-mac配置 Device BDevice B的配置與Device A相似,配置過(guò)程略。檢驗(yàn)配置效果#查看Device A上所有聚合組的摘要信息。DeviceA display link-aggregation summaryAggregation Interface Type:BAGG - Br

7、idge-Aggregation, RAGG - Route-AggregationAggregation Mode: S - Static, D - DynamicLoadsharing Type: Shar - Loadsharing, NonS - Non-LoadsharingActor System ID: 0 x8000, 000f-e2ff-0001AGGAGG Partner IDSelect Unselect ShareBAGG1 Snone30Shar以上信息表明,聚合組1為負(fù)載分擔(dān)類型的二層靜態(tài)聚合組,包含有三個(gè)選中端 口。#查看Device A上全局采用的聚合負(fù)載分擔(dān)類

8、型。DeviceA display link-aggregation load-sharing modeLink-Aggregation Load-Sharing Mode:destination-mac address, source-mac address以上信息表明,所有聚合組都按照?qǐng)?bào)文的源MAC地址和目的MAC地址進(jìn)行聚合負(fù) 載分擔(dān)。1.8.2二層動(dòng)態(tài)聚合配置舉例組網(wǎng)需求 Device A與Device B通過(guò)各自的二層以太網(wǎng)端口GigabitEthernet 1/0/1 GigabitEthernet 1/0/3 相互連接。 在DeviceA和Device B上分別配置二層動(dòng)態(tài)鏈路聚

9、合組,并使 兩端的VLAN 10和VLAN 20之間分別互通。 通過(guò)按照?qǐng)?bào)文的源MAC地址和目的MAC地址進(jìn)行聚合負(fù)載分擔(dān)的 方式,來(lái)實(shí)現(xiàn)數(shù)據(jù)流量在各成員端口間的負(fù)載分擔(dān)。組網(wǎng)圖 圖1-6二層動(dòng)態(tài)聚合配置組網(wǎng)圖AG E HDGELgGEW3GE1iV).-.33.配置步驟配置 Device A創(chuàng)建 VLAN 10,并將端口 GigabitEthernet 1/0/4 加入到該 VLAN 中。 system-viewDeviceA vlan 10DeviceA-vlan10 port gigabitethernet 1/0/4DeviceA-vlan10 quit創(chuàng)建 VLAN 20,并將端口

10、GigabitEthernet 1/0/5 加入到該 VLAN 中。DeviceA vlan 20DeviceA-vlan20 port gigabitethernet 1/0/5DeviceA-vlan20 quit#創(chuàng)建二層聚合接口 1,并配置該接口為動(dòng)態(tài)聚合模式。DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregation1 link-aggregation mode dynamic分別將端口 GigabitEthernet 1/0/1 至 GigabitEthernet 1/0/3 加入到聚合組 1中。DeviceA-

11、GigabitEthernet 1/0/1 port link-aggregation group 1 DeviceA-GigabitEthernet 1/0/1 quitDeviceA interface gigabitethernet 1/0/2DeviceA-GigabitEthernet 1/0/2 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/2 quitDeviceA interface gigabitethernet 1/0/3DeviceA-GigabitEthernet 1/0/3 port link-agg

12、regation group 1DeviceA-GigabitEthernet 1/0/3 quit#配置二層聚合接口 1為Trunk端口,并允許VLAN 10和20的報(bào)文通過(guò)。DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregation1 port link-type trunkDeviceA-Bridge-Aggregation1 port trunk permit vlan 10 20Please wait. Done.Configuring GigabitEthernet 1/0/1. Done.Configuring

13、 GigabitEthernet 1/0/2. Done.Configuring GigabitEthernet 1/0/3. Done.DeviceA-Bridge-Aggregation1 quit#配置全局按照?qǐng)?bào)文的源MAC地址和目的MAC地址進(jìn)行聚合負(fù)載分擔(dān)。DeviceA link-aggregation load-sharing mode source-mac destination-mac配置 Device BDevice B的配置與Device A相似,配置過(guò)程略。檢驗(yàn)配置效果#查看Device A上所有聚合組的摘要信息。Aggregation Interface Type:B

14、AGG - Bridge-Aggregation, RAGG - Route-AggregationAggregation Mode: S - Static, D - DynamicLoadsharing Type: Shar - Loadsharing, NonS - Non-LoadsharingActor System ID: 0 x8000, 000f-e2ff-0001AGGAGG Partner IDSelect Unselect ShareInterface ModePorts Ports TypeBAGG1 D0 x8000, 000f-e2ff-000230Shar以上信息表

15、明,聚合組1為負(fù)載分擔(dān)類型的二層動(dòng)態(tài)聚合組,包含有三個(gè)選中端 口。#查看Device A上全局采用的聚合負(fù)載分擔(dān)類型。DeviceA display link-aggregation load-sharing modeLink-Aggregation Load-Sharing Mode:destination-mac address, source-mac address以上信息表明,所有聚合組都按照?qǐng)?bào)文的源MAC地址和目的MAC地址進(jìn)行聚合負(fù) 載分擔(dān)。1.8.3二層聚合負(fù)載分擔(dān)配置舉例組網(wǎng)需求 Device A與Device B通過(guò)各自的二層以太網(wǎng)端口 GigabitEthernet 1/0

16、/1 GigabitEthernet 1/0/4 相互連接。 在Device A和Device B上分別配置兩個(gè)二層靜態(tài)鏈路聚合組, 并使兩端的VLAN 10通過(guò)二層聚合接口 1互通、VLAN 20通過(guò)二層聚合接口 2互 通。通過(guò)在聚合組1上按照源MAC地址進(jìn)行聚合負(fù)載分擔(dān)、在聚合組 2上按照目的MAC地址進(jìn)行聚合負(fù)載分擔(dān)的方式,來(lái)實(shí)現(xiàn)數(shù)據(jù)流量在各成員端口 間的負(fù)載分擔(dān)。組網(wǎng)圖圖1-7二層聚合負(fù)載分擔(dān)配置組網(wǎng)圖LAN 10 TAN 1(GE1O1BAGG1BAGG1Link aggregation 1GEFW3GEliMBAGG2BAGG2r vI AN 20 一 UGEirnnGE W堂GE

17、NO/3GEIiHiJVLAN 20配置步驟配置 Device A創(chuàng)建 VLAN 10,并將端口 GigabitEthernet 1/0/5 加入到該 VLAN 中。 system-viewDeviceA vlan 10DeviceA-vlan10 port gigabitethernet 1/0/5DeviceA-vlan10 quit創(chuàng)建 VLAN 20,并將端口 GigabitEthernet 1/0/6 加入到該 VLAN 中。 system-viewDeviceA vlan 20DeviceA-vlan20 port gigabitethernet 1/0/6#創(chuàng)建二層聚合接口 1,

18、并配置該接口對(duì)應(yīng)的聚合組內(nèi)按照源MAC地址進(jìn)行聚合 負(fù)載分擔(dān)。DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregationl link-aggregation load-sharing mode source-macDeviceA-Bridge-Aggregation1 quit# 分別將端口 GigabitEthernet 1/0/1 和 GigabitEthernet 1/0/2 加入到聚合組 1中。DeviceA interface gigabitethernet 1/0/1DeviceA-GigabitEthernet

19、 1/0/1 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/1 quitDeviceA interface gigabitethernet 1/0/2DeviceA-GigabitEthernet 1/0/2 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/2 quit#配置二層聚合接口 1為Trunk端口,并允許VLAN 10的報(bào)文通過(guò)。DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregati

20、on1 port link-type trunkDeviceA-Bridge-Aggregation1 port trunk permit vlan 10Please wait. Done.Configuring GigabitEthernet 1/0/1. Done.Configuring GigabitEthernet 1/0/2. Done.DeviceA-Bridge-Aggregation1 quit#創(chuàng)建二層聚合接口 2,并配置該接口對(duì)應(yīng)的聚合組內(nèi)按照目的MAC地址進(jìn)行聚 合負(fù)載分擔(dān)。DeviceA interface bridge-aggregation 2DeviceA-Bri

21、dge-Aggregation2 link-aggregation load-sharing mode destination-mac DeviceA-Bridge-Aggregation2 quit# 分別將端口 GigabitEthernet 1/0/3 和 GigabitEthernet 1/0/4 加入到聚合組 2中。DeviceA interface gigabitethernet 1/0/3DeviceA-GigabitEthernet 1/0/3 port link-aggregation group 2DeviceA-GigabitEthernet 1/0/3 quitDevi

22、ceA interface gigabitethernet 1/0/4DeviceA-GigabitEthernet 1/0/4 port link-aggregation group 2DeviceA-GigabitEthernet 1/0/4 quit#配置二層聚合接口 2為Trunk端口,并允許VLAN 20的報(bào)文通過(guò)。DeviceA interface bridge-aggregation 2DeviceA-Bridge-Aggregation2 port link-type trunkDeviceA-Bridge-Aggregation2 port trunk permit vlan

23、 20Please wait. Done.Configuring GigabitEthernet 1/0/3. Done.Configuring GigabitEthernet 1/0/4. Done.DeviceA-Bridge-Aggregation2 quit配置 Device BDevice B的配置與Device A相似,配置過(guò)程略。檢驗(yàn)配置效果#查看Device A上所有聚合組的摘要信息。DeviceA display link-aggregation summaryAggregation Interface Type:BAGG - Bridge-Aggregation, RAGG

24、 - Route-AggregationAggregation Mode: S - Static, D - DynamicLoadsharing Type: Shar - Loadsharing, NonS - Non-LoadsharingActor System ID: 0 x8000, 000f-e2ff-0001AGGAGG Partner IDSelect Unselect ShareInterface ModePorts Ports TypeBAGG1Snone20SharBAGG2Snone20Shar以上信息表明,聚合組1和聚合組2都是負(fù)載分擔(dān)類型的二層靜態(tài)聚合組,各包 含有兩

25、個(gè)選中端口。#查看Device A上所有聚合接口所對(duì)應(yīng)聚合組內(nèi)采用的聚合負(fù)載分擔(dān)類型。DeviceA display link-aggregation load-sharing mode interfaceBridge-Aggregation1 Load-Sharing Mode:source-mac addressBridge-Aggregation2 Load-Sharing Mode:destination-mac address以上信息表明,二層聚合組1按照?qǐng)?bào)文的源MAC地址進(jìn)行聚合負(fù)載分擔(dān),二層聚 合組2按照?qǐng)?bào)文的目的MAC地址進(jìn)行聚合負(fù)載分擔(dān)。1.8.4三層靜態(tài)聚合配置舉例組網(wǎng)需求

26、 Device A與Device B通過(guò)各自的三層以太網(wǎng)端口 GigabitEthernet 1/0/1 GigabitEthernet 1/0/3 相互連接。 在Device A和Device B上分別配置三層靜態(tài)鏈路聚合組,并為 對(duì)應(yīng)的三層聚合接口配置IP地址和子網(wǎng)掩碼。 通過(guò)按照?qǐng)?bào)文的源IP地址和目的IP地址進(jìn)行聚合負(fù)載分擔(dān)的方 式,來(lái)實(shí)現(xiàn)數(shù)據(jù)流量在各成員端口間的分擔(dān)。組網(wǎng)圖圖1-8三層靜態(tài)聚合配置組網(wǎng)圖配置步驟配置 Device A#創(chuàng)建三層聚合接口 1,并為該接口配置IP地址和子網(wǎng)掩碼。 system-viewDeviceA interface route-aggregation 1

27、DeviceA-Route-Aggregation1 ip address 192.168.1.1 24DeviceA-Route-Aggregation1 quit# 分別將端口 GigabitEthernet 1/0/1 至 GigabitEthernet 1/0/3 加入到聚合組 1中。DeviceA interface gigabitethernet 1/0/1DeviceA-GigabitEthernet 1/0/1 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/1 quitDeviceA interface gig

28、abitethernet 1/0/2DeviceA-GigabitEthernet 1/0/2 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/2 quitDeviceA interface gigabitethernet 1/0/3DeviceA-GigabitEthernet 1/0/3 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/3 quit#配置全局按照?qǐng)?bào)文的源IP地址和目的IP地址進(jìn)行聚合負(fù)載分擔(dān)。DeviceA link-aggregation l

29、oad-sharing mode source-ip destination-ip配置 Device BDevice B的配置與Device A相似,配置過(guò)程略。檢驗(yàn)配置效果#查看Device A上所有聚合組的摘要信息。DeviceA display link-aggregation summaryAggregation Interface Type:BAGG - Bridge-Aggregation, RAGG - Route-AggregationAggregation Mode: S - Static, D - DynamicLoadsharing Type: Shar - Loadsh

30、aring, NonS - Non-LoadsharingActor System ID: 0 x8000, 000f-e2ff-0001AGGAGG Partner IDSelect Unselect ShareInterface ModePorts Ports TypeRAGG1 Snone30Shar以上信息表明,聚合組1為負(fù)載分擔(dān)類型的三層靜態(tài)聚合組,包含有三個(gè)選中端 口。#查看Device A上全局采用的聚合負(fù)載分擔(dān)類型。DeviceA display link-aggregation load-sharing modeLink-Aggregation Load-Sharing Mo

31、de:destination-ip address, source-ip address以上信息表明,所有聚合組都按照?qǐng)?bào)文的源IP地址和目的IP地址進(jìn)行聚合負(fù)載 分擔(dān)。1.8.5三層動(dòng)態(tài)聚合配置舉例組網(wǎng)需求 Device A與Device B通過(guò)各自的三層以太網(wǎng)端口GigabitEthernet 1/0/1 GigabitEthernet 1/0/3 相互連接。 在DeviceA和Device B上分別配置三層動(dòng)態(tài)鏈路聚合組,并為 對(duì)應(yīng)的三層聚合接口配置IP地址和子網(wǎng)掩碼。 通過(guò)按照?qǐng)?bào)文的源IP地址和目的IP地址進(jìn)行聚合負(fù)載分擔(dān)的方 式,來(lái)實(shí)現(xiàn)數(shù)據(jù)流量在各成員端口間的分擔(dān)。組網(wǎng)圖圖1-9三層動(dòng)

32、態(tài)聚合配置組網(wǎng)圖配置步驟配置 Device A#創(chuàng)建三層聚合接口 1,配置該接口為動(dòng)態(tài)聚合模式,并為其配置IP地址和子 網(wǎng)掩碼。 system-viewDeviceA interface route-aggregation 1DeviceA-Route-Aggregation1 link-aggregation mode dynamic DeviceA-Route-Aggregation1 ip address 192.168.1.1 24DeviceA-Route-Aggregationl quit # 分別將端口 GigabitEthernet 1/0/1 至 GigabitEthernet 1/0/3 加入到聚合組 1中。DeviceA interface gigabitethernet 1/0/1DeviceA-GigabitEthernet 1/0/1 port lin

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論