配置LACP模式
配置LACP模式
5.1 問題
交換機之間的鏈路如何通過自動方式實現鏈路的捆綁?
5.2 方案
使用eNSP搭建實驗環境,如圖-6所示。
圖-6
5.3 步驟
實現此案例需要按照如下步驟進行。
1設置完各pc機ip地址
2設置完各交換機接口端口類型
1)創建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的主動端,優先級為100
[SW2]lacp priority 100
5)配置最大活躍鏈路數量2(默認為8)
[SW1-Eth-Trunk1]max active-linknumber 2
6)設置SW1的搶占功能(當g0/0/1線路故障后又恢復可以使用可設置搶占功能,使其恢復)
[SW1-Eth-Trunk1]lacp preempt enable
7)查看eth-trunk配置
[SW1]display eth-trunk
總結
- 上一篇: VS2003升级VS2010修改
- 下一篇: cesium 页面截图_Cesium开发