鏈路捆綁
1. 實驗拓撲:
使用Cisco Packet Tracer模擬器(版本 5.3)
2.實驗需求:
1 把sw0的3個接口集合成一個接口
2 把sw1的3個接口集合成一個接口
3.配置腳本
因爲生成樹協議2個接口 被阻斷了
給C1 C2陪IP
給sw0配置
Switch>enable
Switch#conf t
Switch(config)#int range f0/10-12
Switch(config-if-range)#channel-group 1 mode ?
active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected
acrive: 基於lacp協議 主動連接
passive : 基於lacp協議 被動連接
auto: 基於pagp 隨便連接
desirable : 基於pagp 無條件地連接
on : 手動方式 推薦使用
Switch(config-if-range)#channel-group 1 mode on
sw1:配置
Switch>enable
Switch#conf t
Switch(config)#int range f0/10-12
Switch(config-if-range)#channel-group 1 mode on
P是這種使用的線
倒換 測試
一直ping
關閉接口
沒有掉包
開啓接口
真實網絡是不會掉包的
掉了幾個