以太信道 EtherChannel

以太信道是指,多條相同類型,相同速度和雙工模式(相同端口配置)的端口組合成一條邏輯鏈路。

這裏的多條實際鏈路指2的N次方。2,4,8,16...

可以是中繼,接入。

思科的私有協議是PAGP. 公認的協議有LACP.(中文名稱分別爲端口聚合協議,鏈路聚合協議)。

幾條物理鏈路的負載均衡方式默認是MAC地址。也可以是IP,四層TCP端口。

配置如下:PAGP:

config下:

port-channel load-balance src-dst-port

inteface range gi3/1-4

channel-protocol pagp

channel-group 1 mode desirable non-silent (desirable,爲主動協商,non-silent,爲不靜默)

 

LACP配置:

config下:其中n爲優先級,爲1-65535

lacp system-priority [n]

interface gi3/1-4

channel-protocol lacp

channel-group 1 mode on (或passive,active)

lacp port-priority [n]

 

顯示命令都用show etherchannel .....開頭。

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章