Eth-Trunk 链路聚合

[SW1]int Eth-Trunk 1 //创建Eth-Trunk 1
[SW1-Eth-Trunk1]mode manual load-balance //聚合模式为手工模式(默认)

[SW1-GigabitEthernet0/0/1]dis this
interface GigabitEthernet0/0/1 //成员加入
eth-trunk 1

[SW1-Eth-Trunk1]trunkport g0/0/3 //成员加入

[SW2]int Eth-Trunk 1
[SW2-Eth-Trunk1]t
[SW2-Eth-Trunk1]trunkport g0/0/1
[SW2-Eth-Trunk1]trunkport g0/0/2
[SW2-Eth-Trunk1]trunkport g0/0/3

Eth-Trunk 链路聚合
Eth-Trunk 链路聚合
ping 9个包
通过抓包发现 g0/0/1没有抓到包,全在g0/0/2上
逐流负载分担:不同数据流通过HASH计算,通过等价链路中其中一条转发 不同的HASH算出来对应的接口不同 用SIP和DIP计算

相关文章: