以太信道是指,多条相同类型,相同速度和双工模式(相同端口配置)的端口组合成一条逻辑链路。
这里的多条实际链路指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 .....开头。