配置LACP模式
配置LACP模式
5.1 問(wèn)題
交換機(jī)之間的鏈路如何通過(guò)自動(dòng)方式實(shí)現(xiàn)鏈路的捆綁?
5.2 方案
使用eNSP搭建實(shí)驗(yàn)環(huán)境,如圖-6所示。
圖-6
5.3 步驟
實(shí)現(xiàn)此案例需要按照如下步驟進(jìn)行。
1設(shè)置完各pc機(jī)ip地址
2設(shè)置完各交換機(jī)接口端口類型
1)創(chuàng)建Eth-Trunk
[SW1]interface eth-trunk 1
[SW2]interface eth-trunk 2
2)配置Eth-Trunk的工作模式
[SW1-Eth-Trunk1]mode lacp-static
[SW2-Eth-Trunk2]mode lacp-static
3)Eth-Trunk中加入成員接口
[SW1-Eth-Trunk1]trunkport g0/0/1
[SW1-Eth-Trunk1]trunkport g0/0/2
[SW1-Eth-Trunk1]trunkport g0/0/3
[SW2-Eth-Trunk1]trunkport g0/0/1
[SW2-Eth-Trunk1]trunkport g0/0/2
[SW2-Eth-Trunk1]trunkport g0/0/3
4)配置sw2 eth-trunk的主動(dòng)端,優(yōu)先級(jí)為100
[SW2]lacp priority 100
5)配置最大活躍鏈路數(shù)量2(默認(rèn)為8)
[SW1-Eth-Trunk1]max active-linknumber 2
6)設(shè)置SW1的搶占功能(當(dāng)g0/0/1線路故障后又恢復(fù)可以使用可設(shè)置搶占功能,使其恢復(fù))
[SW1-Eth-Trunk1]lacp preempt enable
7)查看eth-trunk配置
[SW1]display eth-trunk
總結(jié)
- 上一篇: VS2003升级VS2010修改
- 下一篇: cesium 页面截图_Cesium开发