資源描述:
《華為配置靜態(tài)LACP模式鏈路聚合示例.doc》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、華為配置靜態(tài)LACP模式鏈路聚合示例組網(wǎng)需求如圖所示,在兩臺(tái)Switch設(shè)備上配置靜態(tài)LACP模式鏈路聚合組,提高兩設(shè)備之間的帶寬與可靠性,具體要求如下:2012-4-1817:17:13上傳下載附件(11.18KB)配置靜態(tài)LACP模式鏈路聚合組網(wǎng)圖2條活動(dòng)鏈路具有負(fù)載分擔(dān)的能力。兩設(shè)備間的鏈路具有1條冗余備份鏈路,當(dāng)活動(dòng)鏈路出現(xiàn)故障鏈路時(shí),備份鏈路替代故障鏈路,保持?jǐn)?shù)據(jù)傳輸?shù)目煽啃浴D配置靜態(tài)LACP模式鏈路聚合組網(wǎng)圖配置思路采用如下的思路配置靜態(tài)LACP模式鏈路聚合:在Switch設(shè)備上創(chuàng)建Eth-Trunk,配置Eth-Trunk為靜態(tài)LACP模式。將成員接口加入Eth-
2、Trunk。配置系統(tǒng)優(yōu)先級(jí)確定主動(dòng)端。配置活動(dòng)接口上限閾值。配置接口優(yōu)先級(jí)確定活動(dòng)鏈路。數(shù)據(jù)準(zhǔn)備為完成此配置例,需準(zhǔn)備如下的數(shù)據(jù):兩端Switch設(shè)備鏈路聚合組編號(hào)。SwitchA系統(tǒng)優(yōu)先級(jí)。活動(dòng)接口上限閾值?;顒?dòng)接口LACP優(yōu)先級(jí)。操作步驟創(chuàng)建編號(hào)為1的Eth-Trunk,配置它的工作模式為靜態(tài)LACP模式#配置SwitchA。system-view[Quidway]sysnameSwitchA[SwitchA]interfaceeth-trunk1[SwitchA-Eth-Trunk1]bpduenable[SwitchA-Eth-Trunk1]modela
3、cp-static[SwitchA-Eth-Trunk1]quit#配置SwitchB。system-view[Quidway]sysnameSwitchB[SwitchB]interfaceeth-trunk1[SwitchB-Eth-Trunk1]bpduenable[SwitchB-Eth-Trunk1]modelacp-static[SwitchB-Eth-Trunk1]quit將成員接口加入Eth-Trunk#配置SwitchA。[SwitchA]interfaceethernet0/0/1[SwitchA-Ethernet0/0/1]eth-trun
4、k1[SwitchA-Ethernet0/0/1]quit[SwitchA]interfaceethernet0/0/2[SwitchA-Ethernet0/0/2]eth-trunk1[SwitchA-Ethernet0/0/2]quit[SwitchA]interfaceethernet0/0/3[SwitchA-Ethernet0/0/3]eth-trunk1[SwitchA-Ethernet0/0/3]quit#配置SwitchB。[SwitchB]interfaceethernet0/0/1[SwitchB-Ethernet0/0/1]eth-trunk1[Switch
5、B-Ethernet0/0/1]quit[SwitchB]interfaceethernet0/0/2[SwitchB-Ethernet0/0/2]eth-trunk1[SwitchB-Ethernet0/0/2]quit[SwitchB]interfaceethernet0/0/3[SwitchB-Ethernet0/0/3]eth-trunk1[SwitchB-Ethernet0/0/3]quit在SwitchA上配置系統(tǒng)優(yōu)先級(jí)為100,使其成為L(zhǎng)ACP主動(dòng)端[SwitchA]lacppriority100在SwitchA上配置活動(dòng)接口上限閾值為2[SwitchA]inter
6、faceeth-trunk1[SwitchA-Eth-Trunk1]maxactive-linknumber2[SwitchA-Eth-Trunk1]quit在SwitchA上配置接口優(yōu)先級(jí)確定活動(dòng)鏈路[SwitchA]interfaceethernet0/0/1[SwitchA-Ethernet0/0/1]lacppriority100[SwitchA-Ethernet0/0/1]quit[SwitchA]interfaceethernet0/0/2[SwitchA-Ethernet0/0/2]lacppriority100[SwitchA-Ethernet0/0/2]quit
7、驗(yàn)證配置結(jié)果#查看各Switch設(shè)備的Eth-Trunk信息,查看鏈路是否協(xié)商成功。[SwitchA]displayeth-trunk1Eth-Trunk1'sstateinformationis:Local:LAGID:1WorkingMode:STATICPreemptDelay:DisabledHasharithmetic:AccordingtoSA-XOR-DASystemPriority:100SystemID:00e0-fca8-0417LeastActive-lin